Skip to content

Commit

Permalink
ilmerge + валюты обновляются сами по себе, тестовая запись может стат…
Browse files Browse the repository at this point in the history
…ь позже настоящей
  • Loading branch information
gusev_p committed Jun 28, 2016
1 parent 0873ee8 commit 2423401
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*.mdb
*.userprefs
bin/
bin.tests/
obj/
packages/
*.designer.cs
Expand Down
11 changes: 9 additions & 2 deletions Simple1C/Simple1C.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Impl\ComDataContext.cs" />
Expand Down Expand Up @@ -104,8 +105,14 @@
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
</Target>-->

<Target Name="AfterBuild">
<CreateItem Include="@(ReferencePath)" Condition="'%(CopyLocal)'=='true'">
<Output TaskParameter="Include" ItemName="IlmergeAssemblies" />
</CreateItem>
<Exec Command="&quot;..\packages\ilmerge.2.14.1208\tools\ILMerge.exe&quot; /internalize /out:@(MainAssembly) &quot;@(IntermediateAssembly)&quot; @(IlmergeAssemblies->'&quot;%(FullPath)&quot;', ' ')" />
<Delete Files="@(ReferenceCopyLocalPaths->'$(OutDir)%(DestinationSubDirectory)%(Filename)%(Extension)')" />
</Target>
-->

</Project>
1 change: 1 addition & 0 deletions Simple1C/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ILMerge" version="2.14.1208" targetFramework="net45" />
<package id="Remotion.Linq" version="2.0.2" targetFramework="net45" />
</packages>
4 changes: 2 additions & 2 deletions Tests/COMDataContextTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public void CanAddRecursive()
[Test]
public void CanWritePreviouslyReadInformationRegister()
{
var период = DateTime.Today;
var период = new DateTime(2025, 7, 17);
var курс = new КурсыВалют
{
Валюта = dataContext.Single<Валюты>(x => x.Код == "643"),
Expand All @@ -478,7 +478,7 @@ public void CanWritePreviouslyReadInformationRegister()
[Test]
public void CanReadWriteInformationRegister()
{
var период = DateTime.Today;
var период = new DateTime(2025, 7, 18);
var курс = new КурсыВалют
{
Валюта = dataContext.Single<Валюты>(x => x.Код == "643"),
Expand Down
9 changes: 2 additions & 7 deletions Tests/Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\bin\</OutputPath>
<OutputPath>..\bin.tests\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\bin\</OutputPath>
<OutputPath>..\bin.tests\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand All @@ -37,14 +37,9 @@
<Reference Include="nunit.framework, Version=3.2.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\packages\NUnit.3.2.1\lib\net45\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="Remotion.Linq, Version=2.0.0.0, Culture=neutral, PublicKeyToken=fee00910d6e5f53b, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Remotion.Linq.2.0.2\lib\net45\Remotion.Linq.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Management" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 2423401

Please sign in to comment.