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 have a project that uses TemplateGenerator to process template files. Whenever the project is just compiled with the net6.0 TFM but no RID, the project runs without problems.
However, if I specify the RuntimeIdentifierwin-x64, it causes the runtime assembly System.Core.dll to be copied to the output directory. As the logic to decide if the host is a .NET Core one is based on comparing the directory name, and checking if dotnet.exe exists there, it fails because this is not the directory where the .NET SDK is installed.
The text was updated successfully, but these errors were encountered:
I have a project that uses
TemplateGenerator
to process template files. Whenever the project is just compiled with thenet6.0
TFM but no RID, the project runs without problems.However, if I specify the
RuntimeIdentifier
win-x64
, it causes the runtime assemblySystem.Core.dll
to be copied to the output directory. As the logic to decide if the host is a .NET Core one is based on comparing the directory name, and checking ifdotnet.exe
exists there, it fails because this is not the directory where the .NET SDK is installed.The text was updated successfully, but these errors were encountered: