Skip to content
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

Missing mscorlib,VS 2017 #121

Closed
yda86 opened this issue Oct 21, 2019 · 2 comments
Closed

Missing mscorlib,VS 2017 #121

yda86 opened this issue Oct 21, 2019 · 2 comments

Comments

@yda86
Copy link

yda86 commented Oct 21, 2019

Project after config not building, with that error:
C:\Users\user\AppData\Local\Temp\tmpB731\ClassLibrary2.il(52) : warning -- Reference to undeclared extern assembly 'mscorlib'. Attempting autodetect ClassLibrary2 C:\Users\user\Documents\Visual Studio 2017\Projects\ClassLibrary2\packages\DllExport.1.6.5\tools\net.r_eg.DllExport.targets 59
dll file has generated, but his export section empty
.csproj file below

<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PlatformTarget>x86</PlatformTarget> <DocumentationFile> </DocumentationFile> </PropertyGroup> <PropertyGroup> <DllExportIdent>A7905DC9-D550-4245-B464-AF465C963E80</DllExportIdent> <DllExportMetaLibName>DllExport.dll</DllExportMetaLibName> <DllExportNamespace>net.r_eg.DllExport</DllExportNamespace> <DllExportDDNSCecil>true</DllExportDDNSCecil> <PlatformTarget>x86</PlatformTarget> <DllExportOrdinalsBase>7</DllExportOrdinalsBase> <DllExportGenExpLib>false</DllExportGenExpLib> <DllExportOurILAsm>false</DllExportOurILAsm> <DllExportLeaveIntermediateFiles>false</DllExportLeaveIntermediateFiles> <DllExportTimeout>30000</DllExportTimeout> <DllExportPeCheck>2</DllExportPeCheck> </PropertyGroup> <ItemGroup> <Reference Include="DllExport, PublicKeyToken=8337224c9ad9e356"> <HintPath>$(SolutionDir)packages\DllExport.1.6.5\gcache\metalib\$(DllExportNamespace)\$(DllExportMetaLibName)</HintPath> <Private>False</Private> <SpecificVersion>False</SpecificVersion> </Reference> </ItemGroup> <ImportGroup Label=".NET DllExport"> <Import Project="$(SolutionDir)packages\DllExport.1.6.5\tools\net.r_eg.DllExport.targets" Condition="Exists($([MSBuild]::Escape('$(SolutionDir)packages\DllExport.1.6.5\tools\net.r_eg.DllExport.targets')))" Label="8337224c9ad9e356" /> </ImportGroup> <Target Name="DllExportRestorePkg" BeforeTargets="PrepareForBuild"> <Error Condition="!Exists('$(SolutionDir)DllExport.bat')" Text="DllExport.bat is not found. Path: '$(SolutionDir)' - https://github.com/3F/DllExport" /> <Exec Condition="('$(DllExportModImported)' != 'true' Or !Exists('$(SolutionDir)packages\DllExport.1.6.5\tools\net.r_eg.DllExport.targets')) And Exists('$(SolutionDir)DllExport.bat')" Command="DllExport.bat -action Restore" WorkingDirectory="$(SolutionDir)" /> </Target> <Target Name="DllExportRPkgDynamicImport" BeforeTargets="PostBuildEvent" DependsOnTargets="GetFrameworkPaths" Condition="'$(DllExportModImported)' != 'true' And '$(DllExportRPkgDyn)' != 'false'"> <MSBuild BuildInParallel="true" UseResultsCache="true" Projects="$(MSBuildProjectFullPath)" Properties="DllExportRPkgDyn=true" Targets="Build" /> </Target> </Project>

@3F
Copy link
Owner

3F commented Oct 21, 2019

.NET Core support will be considered soon. Please follow the news.

Closed as dup of #90

@3F 3F closed this as completed Oct 21, 2019
@3F 3F added the duplicate label Oct 21, 2019
@yda86
Copy link
Author

yda86 commented Oct 22, 2019

.NET Core support will be considered soon. Please follow the news.

Closed as dup of #90

.net standart is the same problem

@3F 3F added the netcore label Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants