/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
v1.8.2
src/Component/Component.csproj
35 строк
1 KB
EvilBeaver
Переменная для нацеливания на фреймворк
16 июн 2022, 09:54
16 июн 2022, 09:54
7f7960d
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk"> <Import Project="$(MSBuildProjectDirectory)/../oscommon.targets" /> <PropertyGroup> <TargetFramework>$(TargetFrameworkId)</TargetFramework> <Configurations>Debug;Release</Configurations> <Platforms>AnyCPU</Platforms> </PropertyGroup> <PropertyGroup> <AssemblyTitle>1Script component example</AssemblyTitle> </PropertyGroup> <ItemGroup> <ProjectReference Include="..\ScriptEngine\ScriptEngine.csproj" /> <ProjectReference Include="..\ScriptEngine.HostedScript\ScriptEngine.HostedScript.csproj" /> </ItemGroup> <ItemGroup> <Folder Include="Properties\" /> </ItemGroup> <ProjectExtensions> <MonoDevelop> <Properties> <Policies> <StandardHeader IncludeInNewFiles="True" Text="This Source Code Form is subject to the terms of the 
Mozilla Public License, v.2.0. If a copy of the MPL 
was not distributed with this file, You can obtain one 
at http://mozilla.org/MPL/2.0/." /> </Policies> </Properties> </MonoDevelop> </ProjectExtensions> <PropertyGroup> <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">xcopy "$(TargetDir)Component.dll" "$(SolutionDir)..\tests\component" /Y /E /D</PostBuildEvent> <PostBuildEvent Condition=" '$(OS)' == 'Unix' ">cp -f "$(TargetDir)Component.dll" "$(SolutionDir)../tests/component"</PostBuildEvent> </PropertyGroup> </Project>