Open sorgeas opened 6 years ago
Please check with 1.4 Beta
I don't see the jar file in the 1.4 Beta release, could you please add it?
Done
Didn't have much time to test, but I ended up with an issue during my "Run code analysis" step:
IdentityServerDemoClient.exe was not found in any output directory (D:\a\3\s\IdentityServerDemoClient\bin\Debug\netcoreapp2.0, D:\a\3\s\IdentityServerDemoClient\bin\Release\netcoreapp2.0), please build project before scan.
This project is supposed to produce a DLL, but the fxcop plugin seems to expect an EXE file? Here is the output of my build step:
IdentityServerDemoClient -> D:\a\3\s\IdentityServerDemoClient\bin\Debug\netcoreapp2.0\IdentityServerDemoClient.dll
Is there a Output type defined in the csproj file? Because I made Libryry (dll) the Default.
Hi Daniel,
I've tested with another solution, and now I end up with the following output:
INFO: Could not identify platform for "myproject.dll".
FxCopCmd.exe ended with the exit code: 1
Here is the content of the related csproj:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Globals">
<SccProjectName>SAK</SccProjectName>
<SccProvider>SAK</SccProvider>
<SccAuxPath>SAK</SccAuxPath>
<SccLocalPath>SAK</SccLocalPath>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
</Project>
I get the same error in case I use FxCopCmd.exe and scan a .net core exe. Are you sure that FxCop supports .net core? If yes do you know the requirements and required options?
I think this has to be done in a diffrent way see:
Hello,
Could you please add support for .NET Core 2.x projects? The current result (with version 1.3) is the following:
I guess that's because .NET Core 2.x csproj do not necessarily contain the tags
<OutputType>
,<AssemblyName>
or<OutputPath>
.Thanks for your nice work, Sébastien