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
The project(s) uses multi-target <TargetFrameworks>netstandard2.0;netcoreapp2.2;net461</TargetFrameworks>
The T4 transformation compiled without error with VS2017 and SDK2.1 (could have been SDK2.2 actually) with MSBuild in visual studio. (I don't recall doing dotnet msbuild in this repo)
Severity Code Description Project File Line Suppression State
Error CS0116 A namespace cannot directly contain members such as fields or methods EmpyrionNetAPIModBase (net461), EmpyrionNetAPIModBase (netcoreapp2.2), EmpyrionNetAPIModBase (netstandard2.0) E:\gitrepos\EmpyrionNetAPIAccess\EmpyrionNetAPIModBase\Autowire.ModBase.APIRequestsDefinition.cs 1 Active
Error Compiling transformation: The type 'List<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. EmpyrionNetAPIBroker E:\gitrepos\EmpyrionNetAPIAccess\EmpyrionNetAPIBroker\Autowire.Broker.APIRequestsDefinition.tt 28
Error Compiling transformation: The type 'Dictionary<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. EmpyrionNetAPIBroker E:\gitrepos\EmpyrionNetAPIAccess\EmpyrionNetAPIBroker\Autowire.Broker.APIRequestsDefinition.tt 29
Error Compiling transformation: The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. EmpyrionNetAPIBroker E:\gitrepos\EmpyrionNetAPIAccess\EmpyrionNetAPIBroker\Autowire.Broker.APIRequestsDefinition.tt 181
Apart from creating this issue workitem on this observation, I would also like some feedback on using global.json option to specify an earlier sdk, and whether VS2017 \ VS2019 will honor that. I've read some information on the matter, but would like feedback\clarification on the steps and considerations.
The text was updated successfully, but these errors were encountered:
works with 2.2.108, 2.1.511 and $(NETCoreSdkVersion) reference as well, respectfully...
which raises the question, which prop do I use to ensure the latest SDK version is used here (in respect to distribute source and all)? and of course, why is this necessary?
note that removing multi-target, using <TargetFramework>netstandard2.0</TargetFramework> without the workaround fails, and doesn't seem related to the other (latest) referenced issue ("... stomp on each other for Multiple TFMs") that is milestoned to 5.0.1xx.
The project(s) uses multi-target
<TargetFrameworks>netstandard2.0;netcoreapp2.2;net461</TargetFrameworks>
The T4 transformation compiled without error with VS2017 and SDK2.1 (could have been SDK2.2 actually) with MSBuild in visual studio. (I don't recall doing
dotnet msbuild
in this repo)Project is at GitHub - EmpyrionNetAPIAccess
Apart from creating this issue workitem on this observation, I would also like some feedback on using
global.json
option to specify an earlier sdk, and whether VS2017 \ VS2019 will honor that. I've read some information on the matter, but would like feedback\clarification on the steps and considerations.The text was updated successfully, but these errors were encountered: