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