Comments (4)
Tagging subscribers to this area: @dotnet/area-system-console
See info in area-owners.md if you want to be subscribed.
from sdk.
After more testing it seems dotnet build works as expected on some machines (not mine though). But dotnet publish consistently has this issue.
from sdk.
--nodereuse
is an MSBuild-engine-specific flag, UseSharedCompilation
is a property that other build servers like Roslyn/Razor use to determine if they should shut down. However, if you want to prevent the use of any of the build servers at all, I'd suggest just using the --disable-build-servers
flag - it is intended to be easier to use so you don't have to specify all of those flags.
Why is it a problem if the build servers remain around after a build? Part of the performance benefit of using them is predicated on not starting new processes all the time. If you want to use the servers during a build (highly recommended!) and remove them afterwards, consider dotnet build-server shutdown
.
from sdk.
The reason we need to make sure that dotnet.exe is shut down after usage, is that our application contains the SDK in a subfolder (to give exact control over which version is used and not having Windows update interfere). The application calls dotnet.exe for build/publish etc. But dotnet.exe cannot be allowed to continue running after the application is shut down, since dotnet.exe will be locked if the user tries to uninstall or upgrade the application from this state.
Anyway, I've done tests with the --disable-build-servers flag and it has consistently worked.
Thanks for the quick feedback!
from sdk.
Related Issues (20)
- Package validation fail HOT 1
- CSHTML compile errors after 8.0.5 ( 8.0.300 )
- Unexpected packages in the SDK's MSBuild Sdk resolution folder
- The latest .NET 9.0 SDK form designer cannot load HOT 2
- [NETSDKE2E]"Unhandled exception. System.IO.FileLoadException: Could not load file or assembly..." show in Output after running "dotnet test --arch x86." HOT 7
- [NetSDKE2E][ARM64]Although we installed the .netcoreapp 3.1 runtime, Test still executed failed and show "You must install or update .NET to run this application...".
- Container tests started failing with the runtime insertion HOT 1
- MU brings newer version of Microsoft.AspNetCore.App without corresponding version of Microsoft.NETCore.App HOT 5
- Add `dotnet nuget push --dry-run` HOT 2
- [Pipelines] Failed to Sync VMR Due to R2R Patch HOT 1
- Error during dotnet workload restore: Authenticode Signature Verification Failed HOT 7
- Add `dotnet nuget push --skip-duplicates` synonym for `--skip-duplicate` HOT 4
- Failed to create a 6.0 project with error "error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.32)" After installing the June service .net 8.0 sdk HOT 5
- [9.0-preview.4] Failed tests not reported to the console in CI on MacOS HOT 3
- Workload checking not scoped to runtime
- Multi-Targeting Roslyn analyzers with support for pre-SDK format projects HOT 21
- SDK 8.0.1xx mixes Docker and OCI formats HOT 3
- WarningLevel is no longer set to match AnalysisLevel HOT 1
- Expose the Missing Workloads (not just missing Workload Packs) as MSBuild Items when workloads are missing
- [NETSDKE2E]With NET9 preview 6 SDK installed, run wpf/winforms failed with error "You must install or update .NET to run this application" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk.