-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet publish
results in an error about duplicate files
#3337
Labels
area-DeveloperTools
Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration
feature proposal
maui-7.x
Bugs targeted for maui-7.x
Comments
ghost
added
the
needs-triage 🔍
label
Jan 13, 2023
This was referenced Jan 13, 2023
gabbybilka
added
bug
Something isn't working
area-DeveloperTools
Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration
and removed
needs-triage 🔍
labels
Jan 20, 2023
1 task
It also seems that an error occurrs when
|
Closed
4 tasks
Any workaround for this? I tried making |
Has no effect.
|
Related to #4008 |
39 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-DeveloperTools
Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration
feature proposal
maui-7.x
Bugs targeted for maui-7.x
Issue moved from microsoft/microsoft-ui-xaml#7845
Describe the bug
Based on this issue: dotnet/maui#9879
Passing a
-r win10-x64
to a app .csproj tries to load both a "neutral" and a "RID-specific" dll/pdb into the app:Steps to reproduce the bug
Failure: msbuild.binlog.zip
RuntimeIdentifierOverride
property set:Success: msbuild.binlog.zip
Expected behavior
Passing the RID should only apply the the app project, and the class library references should just be non-RID.
Screenshots
No response
NuGet package version
1.1.4
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 21H2 (22000)
IDE
Other
Additional context
I was able to make a workaround:
Add this to the bottom of the app .csproj:
Then when executing, use the new property instead of the RID:
The text was updated successfully, but these errors were encountered: