Commit abf0afa9 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Update KeraLua nuget.

parent a93daf26
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your test projects from the command-line or the IDE.
Copyright (c) Microsoft. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
============================================================
GenerateProgramFile
Generates Program file which contains the Main entry point
============================================================
-->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<GeneratedProgramFile Condition="'$(GeneratedProgramFile)' ==''">$(IntermediateOutputPath)$(MSBuildProjectName).Program$(DefaultLanguageSourceExtension)</GeneratedProgramFile>
<GenerateProgramFile Condition="'$(GenerateProgramFile)' == ''">true</GenerateProgramFile>
</PropertyGroup>
<!--
Output type for dotnet core test project should be exe. For full CLR it is Library by default.
This should be added in props file.
Issues: https://github.com/dotnet/roslyn-project-system/issues/268,
https://devdiv.visualstudio.com/DevDiv/_workitems?id=375688&_a=edit
-->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<OutputType>Exe</OutputType>
</PropertyGroup>
<!--
Generate config file for test project targeting .NET Framework. This config file has binding redirect which is needed at time of running tests.
Added below two lines because msbuild has following check:
https://github.com/Microsoft/msbuild/blob/dd5e8bc3f86ac98bd77d8971b00a6ad14f122f1a/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets#L2027
-->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<AutoGenerateBindingRedirects Condition="'$(AutoGenerateBindingRedirects)' == ''">true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType Condition="'$(GenerateBindingRedirectsOutputType)' == ''">true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
<!--
Note that this must run before every invocation of CoreCompile to ensure that all
compiler runs see the generated Program file. Furthermore, we must run *after*
PrepareForBuild to ensure that the intermediate directory has been created.
-->
<Target Name="GenerateProgramFile"
BeforeTargets="CoreCompile"
DependsOnTargets="PrepareForBuild;CoreGenerateProgramFile"
Condition="'$(GenerateProgramFile)' == 'true'" />
<Target Name="CoreGenerateProgramFile"
Condition="'$(Language)'=='VB' or '$(Language)'=='C#' or '$(Language)'=='F#'"
Inputs="$(MSBuildAllProjects)"
Outputs="$(GeneratedProgramFile)">
<ItemGroup Condition="'$(Language)'=='C#'">
<Line Include="// &lt;auto-generated&gt; This file has been auto generated. &lt;/auto-generated&gt; "/>
<Line Include="using System%3b "/>
<Line Include="[Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode] "/>
<Line Include="class AutoGeneratedProgram {static void Main(string[] args){}}"/>
</ItemGroup>
<ItemGroup Condition="'$(Language)'=='VB'">
<Line Include="' &lt;auto-generated&gt; This file has been auto generated. &lt;/auto-generated&gt; "/>
<Line Include="Imports System"/>
<Line Include="Module AutoGeneratedProgram"/>
<Line Include="&lt;Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode&gt; "/>
<Line Include="Sub Main(args As String())"/>
<Line Include="End Sub"/>
<Line Include="End Module"/>
</ItemGroup>
<ItemGroup Condition="'$(Language)'=='F#'">
<Line Include="// &lt;auto-generated&gt; This file has been auto generated. &lt;/auto-generated&gt;"/>
<Line Include="module AutoGeneratedProgram"/>
<Line Include="[&lt;EntryPoint&gt;]"/>
<Line Include="[&lt;Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode&gt;]"/>
<Line Include="let main _ = 0"/>
</ItemGroup>
<WriteLinesToFile
File="$(GeneratedProgramFile)" Lines="@(Line)" Overwrite="true" Encoding="Unicode">
</WriteLinesToFile>
<!--
Compile Include the generated Program File
-->
<ItemGroup Condition="'$(Language)'!='F#'">
<Compile Include="$(GeneratedProgramFile)"/>
</ItemGroup>
<ItemGroup Condition="'$(Language)'=='F#'">
<ProgramCompiles Include="@(Compile)" Condition=" '%(Identity)' == 'Program.fs' "/>
<CompileAfter Include="$(GeneratedProgramFile)" Condition="@(ProgramCompiles-&gt;Count()) == 0"/>
</ItemGroup>
<Warning Condition=" @(ProgramCompiles-&gt;Count()) != 0 " Text="A 'Program.fs' file can be automatically generated for F# .NET Core test projects. To fix this warning, either delete the file from the project, or set the &lt;GenerateProgramFile&gt; property to 'false'." />
</Target>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your test projects from the command-line or the IDE.
Copyright (c) Microsoft. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
============================================================
GenerateProgramFile
Generates Program file which contains the Main entry point
============================================================
-->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<GeneratedProgramFile Condition="'$(GeneratedProgramFile)' ==''">$(IntermediateOutputPath)$(MSBuildProjectName).Program$(DefaultLanguageSourceExtension)</GeneratedProgramFile>
<GenerateProgramFile Condition="'$(GenerateProgramFile)' == ''">true</GenerateProgramFile>
</PropertyGroup>
<!--
Output type for dotnet core test project should be exe. For full CLR it is Library by default.
This should be added in props file.
Issues: https://github.com/dotnet/roslyn-project-system/issues/268,
https://devdiv.visualstudio.com/DevDiv/_workitems?id=375688&_a=edit
-->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<OutputType>Exe</OutputType>
</PropertyGroup>
<!--
Generate config file for test project targeting .NET Framework. This config file has binding redirect which is needed at time of running tests.
Added below two lines because msbuild has following check:
https://github.com/Microsoft/msbuild/blob/dd5e8bc3f86ac98bd77d8971b00a6ad14f122f1a/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets#L2027
-->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<AutoGenerateBindingRedirects Condition="'$(AutoGenerateBindingRedirects)' == ''">true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType Condition="'$(GenerateBindingRedirectsOutputType)' == ''">true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
<!--
Note that this must run before every invocation of CoreCompile to ensure that all
compiler runs see the generated Program file. Furthermore, we must run *after*
PrepareForBuild to ensure that the intermediate directory has been created.
-->
<Target Name="GenerateProgramFile"
BeforeTargets="CoreCompile"
DependsOnTargets="PrepareForBuild;CoreGenerateProgramFile"
Condition="'$(GenerateProgramFile)' == 'true'" />
<Target Name="CoreGenerateProgramFile"
Condition="'$(Language)'=='VB' or '$(Language)'=='C#' or '$(Language)'=='F#'"
Inputs="$(MSBuildAllProjects)"
Outputs="$(GeneratedProgramFile)">
<ItemGroup Condition="'$(Language)'=='C#'">
<Line Include="// &lt;auto-generated&gt; This file has been auto generated. &lt;/auto-generated&gt; "/>
<Line Include="using System%3b "/>
<Line Include="[Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode] "/>
<Line Include="class AutoGeneratedProgram {static void Main(string[] args){}}"/>
</ItemGroup>
<ItemGroup Condition="'$(Language)'=='VB'">
<Line Include="' &lt;auto-generated&gt; This file has been auto generated. &lt;/auto-generated&gt; "/>
<Line Include="Imports System"/>
<Line Include="Module AutoGeneratedProgram"/>
<Line Include="&lt;Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode&gt; "/>
<Line Include="Sub Main(args As String())"/>
<Line Include="End Sub"/>
<Line Include="End Module"/>
</ItemGroup>
<ItemGroup Condition="'$(Language)'=='F#'">
<Line Include="// &lt;auto-generated&gt; This file has been auto generated. &lt;/auto-generated&gt;"/>
<Line Include="module AutoGeneratedProgram"/>
<Line Include="[&lt;EntryPoint&gt;]"/>
<Line Include="[&lt;Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode&gt;]"/>
<Line Include="let main _ = 0"/>
</ItemGroup>
<WriteLinesToFile
File="$(GeneratedProgramFile)" Lines="@(Line)" Overwrite="true" Encoding="Unicode">
</WriteLinesToFile>
<!--
Compile Include the generated Program File
-->
<ItemGroup Condition="'$(Language)'!='F#'">
<Compile Include="$(GeneratedProgramFile)"/>
</ItemGroup>
<ItemGroup Condition="'$(Language)'=='F#'">
<ProgramCompiles Include="@(Compile)" Condition=" '%(Identity)' == 'Program.fs' "/>
<CompileAfter Include="$(GeneratedProgramFile)" Condition="@(ProgramCompiles-&gt;Count()) == 0"/>
</ItemGroup>
<Warning Condition=" @(ProgramCompiles-&gt;Count()) != 0 " Text="A 'Program.fs' file can be automatically generated for F# .NET Core test projects. To fix this warning, either delete the file from the project, or set the &lt;GenerateProgramFile&gt; property to 'false'." />
</Target>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<!--
Generate config file for test project targeting .NET Framework. This config file has binding redirect which is needed at time of running tests.
Added below two lines because msbuild has following check:
https://github.com/Microsoft/msbuild/blob/dd5e8bc3f86ac98bd77d8971b00a6ad14f122f1a/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets#L2027
-->
<PropertyGroup>
<AutoGenerateBindingRedirects Condition="'$(AutoGenerateBindingRedirects)' == ''">true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType Condition="'$(GenerateBindingRedirectsOutputType)' == ''">true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
</Project>
// <auto-generated> This file has been auto generated. </auto-generated>
using System;
[Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode]
class AutoGeneratedProgram {static void Main(string[] args){}}
\ No newline at end of file
// <auto-generated> This file has been auto generated. </auto-generated>
module AutoGeneratedProgram
[<EntryPoint>]
[<Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode>]
let main _ = 0
\ No newline at end of file
' <auto-generated> This file has been auto generated. </auto-generated>
Imports System
Namespace Global
Module __MicrosoftTestPlatformAutoGeneratedProgram
<Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode>
Sub Main(args As String())
End Sub
End Module
End Namespace
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project InitialTargets="GenerateProgramFile" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<!--
Output type for .NET Core test projects should be exe.
https://devdiv.visualstudio.com/DevDiv/_workitems?id=375688&_a=edit
-->
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>
<PropertyGroup>
<GeneratedProgramFile Condition="'$(GeneratedProgramFile)' == ''">$(MSBuildThisFileDirectory)Microsoft.NET.Test.Sdk.Program$(DefaultLanguageSourceExtension)</GeneratedProgramFile>
<GenerateProgramFile Condition="'$(GenerateProgramFile)' == ''">true</GenerateProgramFile>
</PropertyGroup>
<!--
============================================================
GenerateProgramFile
Generates Program file which contains the Main entry point
============================================================
-->
<Target Name="GenerateProgramFile"
Condition="'$(GenerateProgramFile)' == 'true'">
<ItemGroup Condition="'$(Language)' == 'VB' or '$(Language)' == 'C#'">
<Compile Include="$(GeneratedProgramFile)"/>
</ItemGroup>
<ItemGroup Condition="'$(Language)' == 'F#'">
<ProgramCompiles Include="@(Compile)" Condition="'%(Identity)' == 'Program.fs'" />
<CompileAfter Include="$(GeneratedProgramFile)" Condition="@(ProgramCompiles-&gt;Count()) == 0" />
</ItemGroup>
<Warning Condition="@(ProgramCompiles-&gt;Count()) != 0" Text="A 'Program.fs' file can be automatically generated for F# .NET Core test projects. To fix this warning, either delete the file from the project, or set the &lt;GenerateProgramFile&gt; property to 'false'." />
</Target>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>
<!--
***********************************************************************************************
Microsoft.NET.Test.Sdk.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment