Skip to content

Commit fd21619

Browse files
committed
Added howto file for using BatchModelGenerator
Fixing solution configuration Moved readme file Fixed solution configuration
1 parent 438cd3d commit fd21619

File tree

3 files changed

+26
-6
lines changed

3 files changed

+26
-6
lines changed

src/ResourceManager/AzureBatch/BatchModelGenerator/BatchModelGenerator.csproj

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4-
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
4+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
75
<DebugSymbols>true</DebugSymbols>
86
<DebugType>full</DebugType>
97
<Optimize>false</Optimize>
10-
<OutputPath>..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Batch\</OutputPath>
8+
<OutputPath>bin\Debug\</OutputPath>
9+
<ProjectGuid>{374701E4-539A-459A-9A00-B04E51652997}</ProjectGuid>
10+
<OutputType>Exe</OutputType>
11+
<AppDesignerFolder>Properties</AppDesignerFolder>
12+
<RootNamespace>BatchModelGenerator</RootNamespace>
13+
<AssemblyName>BatchModelGenerator</AssemblyName>
14+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
15+
<FileAlignment>512</FileAlignment>
16+
<TargetFrameworkProfile />
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
19+
<DebugSymbols>true</DebugSymbols>
20+
<DebugType>full</DebugType>
21+
<Optimize>false</Optimize>
22+
<OutputPath>bin\Debug\</OutputPath>
1123
<ProjectGuid>{374701E4-539A-459A-9A00-B04E51652997}</ProjectGuid>
1224
<OutputType>Exe</OutputType>
1325
<AppDesignerFolder>Properties</AppDesignerFolder>

src/ResourceManager/AzureBatch/BatchModelGenerator/BatchModelGenerator.sln

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatchModelGenerator", "Batc
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9-
VSMSBuild|Any CPU = VSMSBuild|Any CPU
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
1011
EndGlobalSection
1112
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12-
{374701E4-539A-459A-9A00-B04E51652997}.VSMSBuild|Any CPU.ActiveCfg = Debug|x86
13+
{374701E4-539A-459A-9A00-B04E51652997}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{374701E4-539A-459A-9A00-B04E51652997}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{374701E4-539A-459A-9A00-B04E51652997}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{374701E4-539A-459A-9A00-B04E51652997}.Release|Any CPU.Build.0 = Release|Any CPU
1317
EndGlobalSection
1418
GlobalSection(SolutionProperties) = preSolution
1519
HideSolutionNode = FALSE
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This executable automatically generates the PowerShell data model classes used by the Azure Batch PowerShell cmdlets.
2+
After building the BatchModelGenerator project, the exe file will be located in bin\Debug folder.
3+
4+
Usage: BatchModelGenerator.exe <The file path to the Microsoft.Batch.dll to operate on>

0 commit comments

Comments
 (0)