Scripting.csproj 8.9 KB
Newer Older
1 2
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
J
Jared Parsons 已提交
3
  <Import Project="..\..\..\build\Targets\VSL.Settings.targets" />
4 5 6 7
  <PropertyGroup>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{12A68549-4E8C-42D6-8703-A09335F97997}</ProjectGuid>
    <OutputType>Library</OutputType>
8 9
    <RootNamespace>Microsoft.CodeAnalysis.Scripting</RootNamespace>
    <AssemblyName>Microsoft.CodeAnalysis.Scripting</AssemblyName>
T
Tomas Matousek 已提交
10
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11
    <TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
T
Tomas Matousek 已提交
12 13
    <TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier>
    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
14 15 16 17 18 19 20
  </PropertyGroup>
  <ItemGroup Label="Project References">
    <ProjectReference Include="..\..\Compilers\Core\Portable\CodeAnalysis.csproj">
      <Project>{1EE8CAD3-55F9-4D91-96B2-084641DA9A6C}</Project>
      <Name>CodeAnalysis</Name>
    </ProjectReference>
  </ItemGroup>
J
Jared Parsons 已提交
21 22
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Any CPU' "></PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Any CPU' "></PropertyGroup>
23 24 25 26 27 28 29
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM' ">
    <PlatformTarget>ARM</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|ARM' ">
    <PlatformTarget>ARM</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
J
Jared Parsons 已提交
30
    <DefineConstants>$(DefineConstants);SCRIPTING</DefineConstants>
31 32
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
J
Jared Parsons 已提交
33
    <DefineConstants>$(DefineConstants);SCRIPTING</DefineConstants>
34
  </PropertyGroup>
35
  <ItemGroup>
36
    <!-- Workaround for https://github.com/NuGet/Home/issues/1471 -->
37
    <Reference Include="$(NuGetPackageRoot)\System.Runtime.Loader\4.0.0$(CoreFXVersionSuffix)\ref\netstandard1.5\System.Runtime.Loader.dll">
38 39
      <Private>False</Private>
    </Reference>
40
  </ItemGroup>
T
Tomas Matousek 已提交
41
  <ItemGroup>
42 43 44
    <Compile Include="..\..\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs">
      <Link>Resolvers\RelativePathResolver.cs</Link>
    </Compile>
45 46 47
    <Compile Include="..\..\Compilers\Shared\CoreClrShim.cs">
      <Link>CoreClrShim.cs</Link>
    </Compile>
48 49 50
    <Compile Include="..\..\Compilers\Shared\GlobalAssemblyCacheHelpers\ClrGlobalAssemblyCache.cs">
      <Link>Resolvers\ClrGlobalAssemblyCache.cs</Link>
    </Compile>
J
Jared Parsons 已提交
51
    <Compile Include="..\..\Compilers\Shared\GlobalAssemblyCacheHelpers\FusionAssemblyIdentity.cs">
52
      <Link>Resolvers\FusionAssemblyIdentity.cs</Link>
T
Tomas Matousek 已提交
53
    </Compile>
J
Jared Parsons 已提交
54
    <Compile Include="..\..\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs">
55
      <Link>Resolvers\GacFileResolver.cs</Link>
T
Tomas Matousek 已提交
56
    </Compile>
J
Jared Parsons 已提交
57
    <Compile Include="..\..\Compilers\Shared\GlobalAssemblyCacheHelpers\GlobalAssemblyCache.cs">
58
      <Link>Resolvers\GlobalAssemblyCache.cs</Link>
T
Tom Meschter 已提交
59
    </Compile>
J
Jared Parsons 已提交
60
    <Compile Include="..\..\Compilers\Shared\GlobalAssemblyCacheHelpers\GlobalAssemblyCacheLocation.cs">
61 62
      <Link>Resolvers\GlobalAssemblyCache.Location.cs</Link>
    </Compile>
63 64 65
    <Compile Include="..\..\Compilers\Shared\GlobalAssemblyCacheHelpers\MonoGlobalAssemblyCache.cs">
      <Link>Resolvers\MonoGlobalAssemblyCache.cs</Link>
    </Compile>
T
Tomas Matousek 已提交
66 67 68 69 70
    <Compile Include="Hosting\AssemblyLoader\AssemblyAndLocation.cs" />
    <Compile Include="Hosting\AssemblyLoader\AssemblyLoadResult.cs" />
    <Compile Include="Hosting\AssemblyLoader\CoreAssemblyLoaderImpl.cs" />
    <Compile Include="Hosting\AssemblyLoader\DesktopAssemblyLoaderImpl.cs" />
    <Compile Include="Hosting\AssemblyLoader\AssemblyLoaderImpl.cs" />
71
    <Compile Include="Hosting\AssemblyLoader\InteractiveAssemblyLoaderException.cs" />
72
    <Compile Include="Hosting\CommandLine\CommandLineHelpers.cs" />
T
Tomas Matousek 已提交
73 74 75 76 77
    <Compile Include="Hosting\CommandLine\CommandLineScriptGlobals.cs" />
    <Compile Include="Hosting\CommandLine\CommandLineRunner.cs" />
    <Compile Include="Hosting\CommandLine\ConsoleIO.cs" />
    <Compile Include="Hosting\CommandLine\NotImplementedAnalyzerLoader.cs" />
    <Compile Include="Hosting\InteractiveScriptGlobals.cs" />
78
    <Compile Include="Hosting\ObjectFormatter\CommonObjectFormatter.BuilderOptions.cs" />
79
    <Compile Include="Hosting\ObjectFormatter\CommonPrimitiveFormatterOptions.cs" />
80
    <Compile Include="Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs" />
81
    <Compile Include="Hosting\ObjectFormatter\CommonTypeNameFormatterOptions.cs" />
82
    <Compile Include="Hosting\ObjectFormatter\CommonTypeNameFormatter.cs" />
83 84
    <Compile Include="Hosting\CommonMemberFilter.cs" />
    <Compile Include="Hosting\MemberFilter.cs" />
85
    <Compile Include="Hosting\PrintOptions.cs" />
86 87 88 89
    <Compile Include="Hosting\ObjectFormatter\ObjectFormatter.cs" />
    <Compile Include="Hosting\ObjectFormatter\ObjectFormatterHelpers.cs" />
    <Compile Include="Hosting\ObjectFormatter\CommonObjectFormatter.Builder.cs" />
    <Compile Include="Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.FormattedMember.cs" />
T
Tomas Matousek 已提交
90 91 92 93 94 95 96 97
    <Compile Include="Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs" />
    <Compile Include="Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs" />
    <Compile Include="Hosting\AssemblyLoader\MetadataShadowCopy.cs" />
    <Compile Include="Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs" />
    <Compile Include="Hosting\AssemblyLoader\ShadowCopy.cs" />
    <Compile Include="Hosting\Resolvers\NuGetPackageResolver.cs" />
    <Compile Include="Hosting\SearchPaths.cs" />
    <Compile Include="Hosting\SynchronizedList.cs" />
98
    <Compile Include="ScriptMetadataResolver.cs" />
99
    <Compile Include="ScriptCompiler.cs" />
100 101 102 103 104
    <Compile Include="ScriptingResources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>ScriptingResources.resx</DependentUpon>
    </Compile>
105
    <Compile Include="ScriptRunner.cs" />
106 107
    <Compile Include="Hosting\ObjectFormatter\CommonObjectFormatter.cs" />
    <Compile Include="Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs" />
108 109
    <Compile Include="Script.cs" />
    <Compile Include="ScriptBuilder.cs" />
T
Tomas Matousek 已提交
110
    <Compile Include="CompilationErrorException.cs" />
T
Tomas Matousek 已提交
111
    <Compile Include="Hosting\ObjectFormatter\MemberDisplayFormat.cs" />
T
Tomas Matousek 已提交
112
    <Compile Include="ScriptExecutionState.cs" />
113
    <Compile Include="ScriptOptions.cs" />
114
    <Compile Include="ScriptSourceResolver.cs" />
115 116
    <Compile Include="ScriptState.cs" />
    <Compile Include="ScriptVariable.cs" />
117
    <Compile Include="Utilities\ConsoleShims.cs" />
T
Tomas Matousek 已提交
118
    <Compile Include="Utilities\IListExtensions.cs" />
119
    <Compile Include="Utilities\ParameterValidationHelpers.cs" />
T
Tomas Matousek 已提交
120
    <Compile Include="Utilities\TaskExtensions.cs" />
121 122
  </ItemGroup>
  <ItemGroup>
T
Tomas Matousek 已提交
123
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.Scripting.Desktop" />
124
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Scripting" />
K
Kevin Halverson 已提交
125
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.VisualBasic.Scripting" />
126
    <InternalsVisibleTo Include="csi" />
T
Tomas Matousek 已提交
127
    <InternalsVisibleTo Include="vbi" />
128
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.InteractiveFeatures" />
129
    <!-- TODO: remove, see https://github.com/dotnet/roslyn/issues/5661 -->
130
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.InteractiveEditorFeatures" />
T
Tomas Matousek 已提交
131 132
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.InteractiveEditorFeatures" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.VisualBasic.InteractiveEditorFeatures" />
133 134
    <InternalsVisibleToTest Include="Roslyn.Services.Editor.UnitTests" />
    <!-- /TODO -->
135
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.Scripting.UnitTests" />
T
Tomas Matousek 已提交
136
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests" />
137 138
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests" />
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests" />
K
Kevin Halverson 已提交
139 140
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests" />
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.VisualBasic.Scripting.Desktop.UnitTests" />
141
    <InternalsVisibleToTest Include="RoslynTaoActions" />
T
Tomas Matousek 已提交
142
    <InternalsVisibleToTest Include="RoslynETAHost" />
143 144
  </ItemGroup>
  <ItemGroup>
145
    <EmbeddedResource Include="ScriptingResources.resx">
146 147
      <Generator>ResXFileCodeGenerator</Generator>
      <SubType>Designer</SubType>
148
      <LastGenOutput>ScriptingResources.Designer.cs</LastGenOutput>
149 150
    </EmbeddedResource>
  </ItemGroup>
151 152 153
  <ItemGroup>
    <None Include="project.json" />
  </ItemGroup>
154 155 156 157
  <ItemGroup>
    <PublicAPI Include="PublicAPI.Shipped.txt" />
    <PublicAPI Include="PublicAPI.Unshipped.txt" />
  </ItemGroup>
J
Jared Parsons 已提交
158
  <Import Project="..\..\..\build\Targets\VSL.Imports.targets" />
J
Jared Parsons 已提交
159
</Project>