Skip to content

Commit 7a907d0

Browse files
Sergey KanzhelevSergey Kanzhelev
authored andcommitted
first version
1 parent d6796e8 commit 7a907d0

File tree

8 files changed

+260
-0
lines changed

8 files changed

+260
-0
lines changed

.gitignore

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[Bb]in/
2+
[Oo]bj/
3+
4+
*.suo
5+
*.user
6+
*.userosscache
7+
*.sln.docstates
8+
.vs
9+
10+
[Dd]ebug/
11+
[Dd]ebugPublic/
12+
[Rr]elease/
13+
[Rr]eleases/
14+
15+
x64/
16+
x86/
17+
build/
18+
bld/
19+
*_i.c
20+
*_p.c
21+
*_i.h
22+
*.ilk
23+
*.meta
24+
*.obj
25+
*.pch
26+
*.pdb
27+
*.pgc
28+
*.pgd
29+
*.rsp
30+
*.sbr
31+
*.tlb
32+
*.tli
33+
*.tlh
34+
*.tmp
35+
*.tmp_proj
36+
*.log
37+
*.vspscc
38+
*.vssscc
39+
.builds
40+
*.pidb
41+
*.svclog
42+
*.scc
43+
44+
*.aps
45+
*.ncb
46+
*.opensdf
47+
*.sdf
48+
*.cachefile
49+
50+
*.nupkg
51+
**/packages/*
52+
!**/packages/build/
53+
54+
StyleCop.Cache

SimpleConsoleApp.sln

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.31101.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleConsoleApp", "SimpleConsoleApp\SimpleConsoleApp.csproj", "{17615840-CE31-4591-BC12-4D0B342949A9}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Debug|x64 = Debug|x64
12+
Release|Any CPU = Release|Any CPU
13+
Release|x64 = Release|x64
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{17615840-CE31-4591-BC12-4D0B342949A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{17615840-CE31-4591-BC12-4D0B342949A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{17615840-CE31-4591-BC12-4D0B342949A9}.Debug|x64.ActiveCfg = Debug|x64
19+
{17615840-CE31-4591-BC12-4D0B342949A9}.Debug|x64.Build.0 = Debug|x64
20+
{17615840-CE31-4591-BC12-4D0B342949A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
21+
{17615840-CE31-4591-BC12-4D0B342949A9}.Release|Any CPU.Build.0 = Release|Any CPU
22+
{17615840-CE31-4591-BC12-4D0B342949A9}.Release|x64.ActiveCfg = Release|x64
23+
{17615840-CE31-4591-BC12-4D0B342949A9}.Release|x64.Build.0 = Release|x64
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal

SimpleConsoleApp/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
5+
</startup>
6+
</configuration>

SimpleConsoleApp/Program.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace SimpleConsoleApp
8+
{
9+
class Program
10+
{
11+
static void Main(string[] args)
12+
{
13+
14+
}
15+
}
16+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("SimpleConsoleApp")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("SimpleConsoleApp")]
13+
[assembly: AssemblyCopyright("Copyright © 2015")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("11619ae1-a67a-47b8-b5a9-82763f062b1e")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Build and Revision Numbers
33+
// by using the '*' as shown below:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<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>
7+
<ProjectGuid>{17615840-CE31-4591-BC12-4D0B342949A9}</ProjectGuid>
8+
<OutputType>Exe</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>SimpleConsoleApp</RootNamespace>
11+
<AssemblyName>SimpleConsoleApp</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<PlatformTarget>AnyCPU</PlatformTarget>
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<PlatformTarget>AnyCPU</PlatformTarget>
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>bin\Release\</OutputPath>
30+
<DefineConstants>TRACE</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
35+
<DebugSymbols>true</DebugSymbols>
36+
<OutputPath>bin\x64\Debug\</OutputPath>
37+
<DefineConstants>DEBUG;TRACE</DefineConstants>
38+
<DebugType>full</DebugType>
39+
<PlatformTarget>x64</PlatformTarget>
40+
<ErrorReport>prompt</ErrorReport>
41+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
42+
<Prefer32Bit>true</Prefer32Bit>
43+
</PropertyGroup>
44+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
45+
<OutputPath>bin\x64\Release\</OutputPath>
46+
<DefineConstants>TRACE</DefineConstants>
47+
<Optimize>true</Optimize>
48+
<DebugType>pdbonly</DebugType>
49+
<PlatformTarget>x64</PlatformTarget>
50+
<ErrorReport>prompt</ErrorReport>
51+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
52+
<Prefer32Bit>true</Prefer32Bit>
53+
</PropertyGroup>
54+
<ItemGroup>
55+
<Reference Include="System" />
56+
<Reference Include="System.Core" />
57+
<Reference Include="System.Xml.Linq" />
58+
<Reference Include="System.Data.DataSetExtensions" />
59+
<Reference Include="Microsoft.CSharp" />
60+
<Reference Include="System.Data" />
61+
<Reference Include="System.Xml" />
62+
</ItemGroup>
63+
<ItemGroup>
64+
<Compile Include="Program.cs" />
65+
<Compile Include="Properties\AssemblyInfo.cs" />
66+
</ItemGroup>
67+
<ItemGroup>
68+
<None Include="App.config" />
69+
<None Include="packages.config" />
70+
<None Include="RTIA\x64\Microsoft.InstrumentationEngine.Extensions.config">
71+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
72+
</None>
73+
<None Include="RTIA\x64\start.cmd">
74+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
75+
</None>
76+
<None Include="Startup.cmd" />
77+
</ItemGroup>
78+
<ItemGroup>
79+
<Content Include="RTIA\x64\Microsoft.ApplicationInsights.Extensions.Base_x64.dll">
80+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
81+
</Content>
82+
<Content Include="RTIA\x64\Microsoft.ApplicationInsights.ExtensionsHost_x64.dll">
83+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
84+
</Content>
85+
<Content Include="RTIA\x64\Microsoft.ApplicationInsights.StartupAction_x64.dll">
86+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
87+
</Content>
88+
<Content Include="RTIA\x64\Microsoft.Diagnostics.Instrumentation.Extensions.Base.dll">
89+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
90+
</Content>
91+
<Content Include="RTIA\x64\MicrosoftInstrumentationEngine_x64.dll">
92+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
93+
</Content>
94+
<Content Include="RTIA\x64\vsassert.dll">
95+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
96+
</Content>
97+
</ItemGroup>
98+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
99+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
100+
Other similar extension points exist, see Microsoft.Common.targets.
101+
<Target Name="BeforeBuild">
102+
</Target>
103+
<Target Name="AfterBuild">
104+
</Target>
105+
-->
106+
</Project>

SimpleConsoleApp/Startup.cmd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
SET COR_ENABLE_PROFILING=1
2+
SET COR_PROFILER={324F817A-7420-4E6D-B3C1-143FBED6D855}
3+
SET COR_PROFILER_PATH=RTIA\x64\MicrosoftInstrumentationEngine_x64.dll
4+
SET MicrosoftInstrumentationEngine_HostPath=%cd%\RTIA\x64\Microsoft.ApplicationInsights.ExtensionsHost_x64.dll
5+
SET MicrosoftInstrumentationEngine_Host={CA487940-57D2-10BF-11B2-A3AD5A13CBC0}
6+
SET MicrosoftInstrumentationEngine_MessageboxAtAttach=1
7+
SET MicrosoftInstrumentationEngine_FileLog="Errors|Dumps"
8+
9+
bin\x64\Debug\SimpleConsoleApp.exe

SimpleConsoleApp/packages.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Microsoft.Diagnostics.RuntimeInstrumentationAgent.Extensions.StartupAction_x64" version="0.13.0-build31099" targetFramework="net45" />
4+
<package id="Microsoft.Diagnostics.RuntimeInstrumentationAgent_x64" version="0.13.0-build31044" targetFramework="net45" />
5+
</packages>

0 commit comments

Comments
 (0)