Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Target Name="PlatformCheck" BeforeTargets="InjectReference"
- Condition=" ( ('$(Platform)' != 'x86') AND ('$(Platform)' != 'ARM') )">
- <Error Text="$(MSBuildThisFileName) does not work correctly on '$(Platform)' platform. You need to specify platform (x86 or ARM)." />
- </Target>
- <Target Name="InjectReference" BeforeTargets="ResolveAssemblyReferences">
- <ItemGroup Condition=" '$(Platform)' == 'x86' or '$(Platform)' == 'ARM'">
- <Reference Include="Nome lib senza estensione">
- <HintPath>$(MSBuildThisFileDirectory)$(Platform)\Nome lib con estensione</HintPath>
- </Reference>
- </ItemGroup>
- </Target>
- </Project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement