Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 04:17

    dependabot[bot] on npm_and_yarn

    chore(deps): bump @swc/helpers … (compare)

  • 04:16

    dependabot[bot] on npm_and_yarn

    chore(deps): bump @docusaurus/p… (compare)

  • 04:14

    dependabot[bot] on npm_and_yarn

    chore(deps): bump tslib from 2.… (compare)

  • 04:13

    dependabot[bot] on npm_and_yarn

    chore(deps-dev): bump eslint-co… (compare)

  • Feb 05 18:44

    AgentEnder on master

    docs(core): clarify description… (compare)

  • Feb 04 19:19

    github-actions[bot] on gh-pages

    chore: deploy docs site (compare)

  • Feb 04 19:19

    github-actions[bot] on gh-pages

    chore: deploy docs site (compare)

  • Feb 04 19:17

    github-actions[bot] on v1.19.1

    (compare)

  • Feb 04 19:17

    github-actions[bot] on master

    release: 1.19.1 [skip ci] ## [… (compare)

  • Feb 04 15:50

    AgentEnder on master

    add Tungsten78 as a contributor… (compare)

  • Feb 04 15:50

    AgentEnder on add-Tungsten78

    (compare)

  • Feb 04 15:48

    allcontributors[bot] on add-Tungsten78

    update .all-contributorsrc [ski… (compare)

  • Feb 04 15:48

    allcontributors[bot] on add-Tungsten78

    update README.md [skip ci] (compare)

  • Feb 04 15:48

    allcontributors[bot] on add-Tungsten78

    (compare)

  • Feb 04 04:20

    dependabot[bot] on npm_and_yarn

    chore(deps-dev): bump node-fetc… (compare)

  • Feb 04 04:18

    AgentEnder on npm_and_yarn

    (compare)

  • Feb 04 04:18

    AgentEnder on master

    chore(deps): bump core-js from … (compare)

  • Feb 04 04:18

    AgentEnder on master

    chore(deps-dev): bump husky fro… (compare)

  • Feb 04 04:18

    AgentEnder on npm_and_yarn

    (compare)

  • Feb 04 04:18

    AgentEnder on npm_and_yarn

    (compare)

Michel van den Berg
@promontis
so it can find it!
only the files array is empty
Craigory Coppola
@AgentEnder
Yeah, nx-dotnet is finding it but Nx itself is reporting empty files. I'm not sure why that would be happening at first glance. Do you care to open an issue on the gh for this? If you can make a minimal repro that would be great, but if not its no worry :smile:
Michel van den Berg
@promontis
do you perhaps know where the files are being add?
in NX itself
Craigory Coppola
@AgentEnder
Yeah, thats not something that we do. I'll have to glance over the Nx source and find it.
Michel van den Berg
@promontis
I can’t really make a minimal repro I think… what I can do is debug that NX source that should add the files
I tried with a NX generated app, and there it works
so I have no idea how to make a minimal repro :sweat_smile:
Craigory Coppola
@AgentEnder
Ah, are you migrating a project created through VS / some other tooling into nx-dotnet? That is a case that should work, but is not covered by our tests.
Michel van den Berg
@promontis
yeah
migrating an existing project
is this it?
Craigory Coppola
@AgentEnder
I plan on adding some schematic to make that easier, but like I said it should work in the meantime. The nx source you should look at is https://github.com/nrwl/nx/blob/master/packages/workspace/src/core/file-utils.ts#L277
Michel van den Berg
@promontis
ah great!
let me try to debug it
ah found it
Craigory Coppola
@AgentEnder
Whats going on?
Michel van den Berg
@promontis
you actually have to put everything in either an app folder or on lib folder hehe
Craigory Coppola
@AgentEnder
Ah, yeah that can be the case depending on your nx setup. An option to get around that is to set your configuration to have apps: "" in nx.json
Or libs: ""
Michel van den Berg
@promontis
ah great… was just looking for that config
was hoping that it wasn’t hard coded haha
Craigory Coppola
@AgentEnder
Yeah, here is how its setup in nx itself https://github.com/nrwl/nx/blob/master/nx.json
Lines 51-52
Michel van den Berg
@promontis
yeay, it works!
Craigory Coppola
@AgentEnder
Excellent, feel free to let me know if you encounter any further issues.
Michel van den Berg
@promontis
I will :)
thnx for helping out! :beers:
Craigory Coppola
@AgentEnder
Sure, no worries
Michel van den Berg
@promontis
Quick question… you can’t configure the layout algoritm of the dependency graph right?
image.png
It is now outputting like this, and the box is in the way
Michel van den Berg
@promontis
nevermind… nrwl/nx#4553
Craigory Coppola
@AgentEnder
Yeah, theres not anything we can do at the plugin-layer on that
masaanli
@masaanli
What about caching?
or that kind of stuff does this plugin also supports that?
Craigory Coppola
@AgentEnder

Hey @masaanli, yeah so the build caching and remote cache both are built into Nx. Any commands ran through Nx can take advantage of them so long as the target name ( build in this case) is listed in the task runner's cacheable operations. By default this includes build, test, lint, and e2e.

Here's a link to the talk I gave at Nx conf that goes over how this alls plays together: https://www.youtube.com/watch?v=IRIXPTIKTmA&t=6s

Neil Stevens
@StickNitro
Does this support running an Azure Function application, looks like the serve executor currently does dotnet run whereas a function app is a Library and started using the function runtime, e.g. func
Craigory Coppola
@AgentEnder
The nx plugin itself doesnt provide anything special for azure functions, but you could use the build executors mixed with @nrwl/workspace:run-commands to run func dist/libs/my-library.dll
Neil Stevens
@StickNitro
Thanks, managed to get that working
Bjørn-Tore
@Nozemi
So I'm trying to pass template options when generating a new app with nx-dotnet/core:app, but there is no obvious way :(
The documentation mentions that templates might have options, but it doesn't say how to provide them
Bjørn-Tore
@Nozemi
nx-dotnet/nx-dotnet#398 also created an issue on your repository, so in the event I'm not here anymore, you can respond on there :)
Craigory Coppola
@AgentEnder
Hey, that is definitely a current limitation. I'll take a look, we should fix it. The docs just mention it because they were pulled from msdn.
Bjørn-Tore
@Nozemi
Any updates on the issue I mentioned? I notice it's still just set to open
Craigory Coppola
@AgentEnder
This isnt something ive had a chance to look into, but is definitely something i should probably spend time on. Alternatively, feel free to propose solutions or open a PR on the issue
Paul Hammant
@paul-hammant
I have a need to pass a few /p:foo=bar style parameters to dotnet.exe build. There's an options block in the JSON for "build". I thought it might be extraParameters cos I see that elsewhere in the codebase, but it is not that. Then there's dotnetBuildFlags but that appears to has a fixed list of keys, so I thought I'd ask.
3 replies
fernandobracaroto
@fernandobracaroto
Hi, how can I pass templates params? like I want to create this project dotnet new angular -au Individual, but cant pass the -au flag. The doc says template
(string): The template to instantiate when the command is invoked. Each template might have specific options you can pass., but does dot specify how
3 replies