Linux (Ubuntu 20.04) - Debug and Publish self-contained experience #7081
Replies: 3 comments
-
I wonder if the FileSystemWatcher issue would repro with a standard aspnet app. |
Beta Was this translation helpful? Give feedback.
-
Not sure why this is assigned to 1.0. I just wanted to document my experience with Ubuntu desktop here. I'm not sure this is worth creating a documentation for this as this information could change over time. The publish self-contained not working though is something that we can't really fix if it's coming from .NET Core issues. |
Beta Was this translation helpful? Give feedback.
-
I tried this back this week and it worked "Publish self contained". Under Ubuntu 20 still. |
Beta Was this translation helpful? Give feedback.
-
Debug
First issue I encountered is related with .NET Core filewatchers :
To fix this issue under Ubuntu 20.04 I simply needed to do this command :
Publish (self-contained)
When publishing if I don't specify a runtime it publishes fine but when I specify I get errors. So for instance here I can't publish as self-contained under Ubuntu.
Here are the errors :
See related issue :
dotnet/installer#81
They seem to say it should be resolved by using
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
in the .csproj file. I need to test this more but so far by adding this in OrchardCore.Cms.Web only did not work.Beta Was this translation helpful? Give feedback.
All reactions