You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed the ref directory in any/all combination of build / publish and release / debug` output. It shouldn't be there. Developers are deploying this asset into production. That's undesirable. Certainly, if there is a scenario for it being deployed with the app, it should be opt-in.
My experience, after dotnet new console:
root@d17c4ab3cf2c:/app# ls
Program.cs app.csproj bin obj
root@d17c4ab3cf2c:/app# rm -r bin obj
root@d17c4ab3cf2c:/app# dotnet publish -c release
Microsoft (R) Build Engine version 17.0.0-preview-21302-02+018bed83d for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored /app/app.csproj (in 37 ms).
You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
app -> /app/bin/release/net6.0/app.dll
app -> /app/bin/release/net6.0/publish/
root@d17c4ab3cf2c:/app# find .| grep ref
./bin/release/net6.0/ref
./bin/release/net6.0/ref/app.dll
./obj/release/net6.0/ref
./obj/release/net6.0/ref/app.dll
The text was updated successfully, but these errors were encountered:
We're tracking the issue here: dotnet/msbuild#6543 and the PR is out dotnet/msbuild#6560 with the customer able to configure where they want it with TargetRefPath. Should be in for VS 17.0 preview 3.
I just noticed the
ref
directory in any/all combination ofbuild
/publish
andrelease /
debug` output. It shouldn't be there. Developers are deploying this asset into production. That's undesirable. Certainly, if there is a scenario for it being deployed with the app, it should be opt-in.My experience, after
dotnet new console
:The text was updated successfully, but these errors were encountered: