Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remaining pre-release build fixes

  • Loading branch information...
commit 757aff0ab8c1b5c79013e76ac730f62b5ce7b152 1 parent 88cf0c5
@anpete anpete authored
View
151 .nuget/NuGet.targets
@@ -1,25 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
- <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)</SolutionDir>
- <NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
- <NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath>
- <PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
- <PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
- <PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
+
+ <!-- Enable the restore command to run before builds -->
+ <RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>
+ <!-- Property that enables building a package from a project -->
+ <BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>
+
+ <!-- Download NuGet.exe if it does not already exist -->
+ <DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">true</DownloadNuGetExe>
+ </PropertyGroup>
+
+ <ItemGroup Condition=" '$(PackageSources)' == '' ">
<!-- Package sources used to restore packages. By default will used the registered sources under %APPDATA%\NuGet\NuGet.Config -->
- <PackageSources>""</PackageSources>
+ <!--
+ <PackageSource Include="https://nuget.org/api/v2/" />
+ <PackageSource Include="https://my-nuget-source/nuget/" />
+ -->
+ </ItemGroup>
- <!-- Enable the restore command to run before builds -->
- <RestorePackages Condition="$(RestorePackages) == ''">false</RestorePackages>
+ <PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
+ <!-- Windows specific commands -->
+ <NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
+ <PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
+ <PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
+ </PropertyGroup>
+
+ <PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
+ <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
+ <NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath>
+ <PackagesConfig>packages.config</PackagesConfig>
+ <PackagesDir>$(SolutionDir)packages</PackagesDir>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <!-- NuGet command -->
+ <NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\nuget.exe</NuGetExePath>
+ <PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>
+
+ <NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
+ <NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand>
- <!-- Property that enables building a package from a project -->
- <BuildPackage Condition="$(BuildPackage) == ''">false</BuildPackage>
+ <PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
<!-- Commands -->
- <RestoreCommand>"$(NuGetExePath)" install "$(PackagesConfig)" -source $(PackageSources) -o "$(PackagesDir)"</RestoreCommand>
- <BuildCommand>"$(NuGetExePath)" pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
+ <RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" -o "$(PackagesDir)"</RestoreCommand>
+ <BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
<!-- Make the build depend on restore packages -->
<BuildDependsOn Condition="$(RestorePackages) == 'true'">
@@ -33,100 +61,83 @@
BuildPackage;
</BuildDependsOn>
</PropertyGroup>
-
+
<Target Name="CheckPrerequisites">
- <DownloadNuGet OutputFilename="$(NuGetExePath)" Condition="!Exists('$(NuGetExePath)')" />
+ <!-- Raise an error if we're unable to locate nuget.exe -->
+ <Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
+ <SetEnvironmentVariable EnvKey="VisualStudioVersion" EnvValue="$(VisualStudioVersion)" Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' " />
+ <DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
</Target>
-
+
+ <Target Name="EnableRestore">
+ <SetEnvironmentVariable EnvKey="EnableNuGetPackageRestore" EnvValue="true" />
+ </Target>
+
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(RestoreCommand)"
+ Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
+
+ <Exec Command="$(RestoreCommand)"
LogStandardErrorAsError="true"
- Condition="Exists('$(PackagesConfig)')" />
+ Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
</Target>
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(BuildCommand)"
+ Condition=" '$(OS)' != 'Windows_NT' " />
+
<Exec Command="$(BuildCommand)"
- LogStandardErrorAsError="true" />
+ LogStandardErrorAsError="true"
+ Condition=" '$(OS)' == 'Windows_NT' " />
</Target>
-
+
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<OutputFilename ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Reference Include="System.Core" />
- <Reference Include="System.Xml" />
- <Reference Include="WindowsBase" />
<Using Namespace="System" />
<Using Namespace="System.IO" />
- <Using Namespace="System.IO.Packaging" />
- <Using Namespace="System.Linq" />
<Using Namespace="System.Net" />
- <Using Namespace="System.Xml" />
<Using Namespace="Microsoft.Build.Framework" />
<Using Namespace="Microsoft.Build.Utilities" />
<Code Type="Fragment" Language="cs">
<![CDATA[
- string zipTempPath = null;
- string exeTempPath = null;
-
try {
OutputFilename = Path.GetFullPath(OutputFilename);
- if (File.Exists(OutputFilename)) {
- return true;
- }
-
- Log.LogMessage("Determining latest version of NuGet.CommandLine...");
+ Log.LogMessage("Downloading latest version of NuGet.exe...");
WebClient webClient = new WebClient();
- XmlDocument xml = new XmlDocument();
- xml.LoadXml(webClient.DownloadString("http://nuget.org/v1/FeedService.svc/Packages()?$filter=tolower(Id)%20eq%20'nuget.commandline'&$top=1&$orderby=Version%20desc"));
- XmlNamespaceManager xns = new XmlNamespaceManager(xml.NameTable);
- xns.AddNamespace("atom", "http://www.w3.org/2005/Atom");
- xns.AddNamespace("d", "http://schemas.microsoft.com/ado/2007/08/dataservices");
- xns.AddNamespace("m", "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata");
- string version = xml.SelectSingleNode("//atom:entry/m:properties/d:Version", xns).InnerText;
- string zipUrl = xml.SelectSingleNode("//atom:entry/atom:content", xns).Attributes["src"].Value;
-
- Log.LogMessage("Downloading NuGet.CommandLine v{0}...", version);
- zipTempPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
- exeTempPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
- webClient.DownloadFile(zipUrl, zipTempPath);
+ webClient.DownloadFile("https://nuget.org/nuget.exe", OutputFilename);
- Log.LogMessage("Copying to {0}...", OutputFilename);
- using (Package package = Package.Open(zipTempPath)) {
- PackagePart exePart = package.GetParts().Where(p => p.Uri.ToString().ToLowerInvariant() == "/tools/nuget.exe").Single();
- using (Stream inputStream = exePart.GetStream(FileMode.Open, FileAccess.Read))
- using (Stream outputStream = File.Create(exeTempPath)) {
- byte[] buffer = new byte[16384];
- while (true) {
- int read = inputStream.Read(buffer, 0, buffer.Length);
- if (read == 0) {
- break;
- }
- outputStream.Write(buffer, 0, read);
- }
- }
- }
-
- if (!File.Exists(OutputFilename))
- {
- File.Copy(exeTempPath, OutputFilename);
- }
-
return true;
}
catch (Exception ex) {
Log.LogErrorFromException(ex);
return false;
}
- finally {
- if (exeTempPath != null) File.Delete(exeTempPath);
- if (zipTempPath != null) File.Delete(zipTempPath);
- }
]]>
</Code>
</Task>
</UsingTask>
+ <UsingTask TaskName="SetEnvironmentVariable" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
+ <ParameterGroup>
+ <EnvKey ParameterType="System.String" Required="true" />
+ <EnvValue ParameterType="System.String" Required="true" />
+ </ParameterGroup>
+ <Task>
+ <Using Namespace="System" />
+ <Code Type="Fragment" Language="cs">
+ <![CDATA[
+ try {
+ Environment.SetEnvironmentVariable(EnvKey, EnvValue, System.EnvironmentVariableTarget.Process);
+ }
+ catch {
+ }
+ ]]>
+ </Code>
+ </Task>
+ </UsingTask>
</Project>
View
32 EF.msbuild
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="RestorePackagesSafe;Package;Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
@@ -14,36 +14,28 @@
Properties="$(BuildProperties)"/>
</Target>
- <Target Name="Default" DependsOnTargets="Test;Package" />
-
- <Target Name="RestorePackages">
- <!--
- This can't build in parallel because of NuGet package restore race conditions.
- When this is fixed in NuGet, we can remove the CSPROJ part of this target.
-
- NOTE: These projects are hand selected to be the minimum # of CSPROJ files that
- ensure we've restored every remote package. If another collision is found,
- please review the project list as appropriate.
- -->
+ <Target Name="PreRestorePackages">
<ItemGroup>
<RestoreCsProjFiles Include="test\EntityFramework\FunctionalTests\*.csproj" />
</ItemGroup>
-
<Message Text="Restoring NuGet packages..." Importance="High" />
-
- <MSBuild
- Projects="@(RestoreCsProjFiles)"
- BuildInParallel="false"
- Targets="RestorePackages" />
</Target>
- <Target Name="Build" DependsOnTargets="RestorePackages">
+ <Target Name="RestorePackages" DependsOnTargets="PreRestorePackages">
+ <MSBuild Projects="@(RestoreCsProjFiles)" Targets="EnableRestore;RestorePackages" />
+ </Target>
+
+ <Target Name="RestorePackagesSafe" DependsOnTargets="PreRestorePackages">
+ <MSBuild Projects="@(RestoreCsProjFiles)" Targets="RestorePackages" />
+ </Target>
+
+ <Target Name="Build" DependsOnTargets="RestorePackagesSafe">
<MSBuild Targets="Build"
Projects="$(SolutionFile)"
Properties="$(BuildProperties);BuildPackages=false" />
</Target>
- <Target Name="Rebuild" DependsOnTargets="RestorePackages">
+ <Target Name="Rebuild" DependsOnTargets="RestorePackagesSafe">
<MSBuild Targets="Rebuild"
Projects="$(SolutionFile)"
Properties="$(BuildProperties);BuildPackages=false" />
View
6 EF.xunit.targets
@@ -11,9 +11,9 @@
<UsingTask TaskName="Xunit.Runner.MSBuild.xunit" AssemblyFile="@(XunitMsBuildRunner)"/>
<Target Name="Xunit">
- <xunit Assembly="test\EntityFramework\UnitTests\bin\$(Configuration)\EntityFramework.UnitTests.dll" Xml="test\EntityFramework\UnitTests\bin\$(Configuration)\EntityFramework.UnitTests.xml" />
- <xunit Assembly="test\EntityFramework\FunctionalTests\bin\$(Configuration)\EntityFramework.FunctionalTests.dll" Xml="test\EntityFramework\FunctionalTests\bin\$(Configuration)\EntityFramework.FunctionalTests.xml" />
- <xunit Assembly="test\EntityFramework\VBTests\bin\$(Configuration)\EntityFramework.VBTests.dll" Xml="test\EntityFramework\VBTests\bin\$(Configuration)\EntityFramework.VBTests.xml" />
+ <xunit Assembly="test\EntityFramework\UnitTests\bin\$(Configuration)\EntityFramework.UnitTests.dll" Xml="test\EntityFramework\UnitTests\bin\$(Configuration)\EntityFramework.UnitTests.xml" ShadowCopy="true" />
+ <xunit Assembly="test\EntityFramework\FunctionalTests\bin\$(Configuration)\EntityFramework.FunctionalTests.dll" Xml="test\EntityFramework\FunctionalTests\bin\$(Configuration)\EntityFramework.FunctionalTests.xml" ShadowCopy="true" />
+ <xunit Assembly="test\EntityFramework\VBTests\bin\$(Configuration)\EntityFramework.VBTests.dll" Xml="test\EntityFramework\VBTests\bin\$(Configuration)\EntityFramework.VBTests.xml" ShadowCopy="true" />
</Target>
</Project>
View
2  test/EntityFramework/FunctionalTests/Migrations/SchemaScenarios.cs
@@ -61,7 +61,7 @@ public void Can_generate_and_update_when_custom_default_schema()
Assert.True(TableExists("bar." + HistoryContext.TableName));
}
- [MigrationsTheory(Skip = "In progress")]
+ // TODO: [MigrationsTheory(Skip = "In progress")]
public void Can_get_database_migrations_when_custom_default_schema_introduced()
{
DropDatabase();
View
6 test/EntityFramework/FunctionalTests/ProductivityApi/ConnectionTests.cs
@@ -163,7 +163,7 @@ public void Existing_connection_is_closed_if_it_started_closed()
Existing_connection_is_same_state_it_started_in_after_use(ConnectionState.Closed);
}
- [Fact(Skip = "Cannot create EntityConnection with open connection.")]
+ // TODO: [Fact(Skip = "Cannot create EntityConnection with open connection.")]
public void Existing_connection_is_open_if_it_started_open()
{
Existing_connection_is_same_state_it_started_in_after_use(ConnectionState.Open);
@@ -890,7 +890,7 @@ public class BadMvcContext : DbContext
{
}
- [Fact(Skip = @"DbConnection timeout issue.")]
+ // TODO: [Fact(Skip = @"DbConnection timeout issue.")]
// Ignored for now because even with Connection Timeout=1 the connection to a bad server
// can still take over 20 seconds to fail. This is apparently because of the way timeouts work on
// SqlConnection which is that the timeout specified is a minimum value and if the APIs being called
@@ -923,7 +923,7 @@ public BadConnectionStringContext()
}
}
- [Fact(Skip = @"DbConnection timeout issue.")]
+ // TODO: [Fact(Skip = @"DbConnection timeout issue.")]
// Ignored for now because even with Connection Timeout=1 the connection to a bad server
// can still take over 20 seconds to fail. This is apparently because of the way timeouts work on
// SqlConnection which is that the timeout specified is a minimum value and if the APIs being called
View
2  test/EntityFramework/FunctionalTests/ProductivityApi/DatabaseTests.cs
@@ -133,7 +133,7 @@ public void DatabaseExists_returns_true_for_existing_database_when_using_static_
// Skipped due to Dev10.882884 DCR: PI: DbContext cannot be created with an already-open existing connection
// EntityConnection is created in the call "Database.Exists(connection)"
- [Fact(Skip = "Dev10.882884")]
+ // TODO: [Fact(Skip = "Dev10.882884")]
public void DatabaseExists_returns_true_for_existing_database_when_using_static_method_taking_existing_connection_which_is_opened()
{
using (var connection = SimpleConnection<SimpleModelContext>())
View
28 test/EntityFramework/FunctionalTests/ProductivityApi/PartialTrustTests.cs
@@ -18,7 +18,7 @@
[PartialTrustFixture]
public class PartialTrustTests : FunctionalTestBase
{
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void DbContextInfo_works_under_partial_trust()
{
var contextInfo = new DbContextInfo(typeof(AdvancedPatternsMasterContext),
@@ -29,7 +29,7 @@ public void DbContextInfo_works_under_partial_trust()
Assert.NotNull(context);
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void DbPropertyValues_ToObject_for_an_entity_works_under_partial_trust()
{
using (var context = new AdvancedPatternsMasterContext())
@@ -42,7 +42,7 @@ public void DbPropertyValues_ToObject_for_an_entity_works_under_partial_trust()
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void DbPropertyValues_ToObject_for_a_complex_type_works_under_partial_trust()
{
using (var context = new AdvancedPatternsMasterContext())
@@ -56,7 +56,7 @@ public void DbPropertyValues_ToObject_for_a_complex_type_works_under_partial_tru
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void Non_generic_DbSet_creation_works_under_partial_trust()
{
using (var context = new EmptyContext())
@@ -67,7 +67,7 @@ public void Non_generic_DbSet_creation_works_under_partial_trust()
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void DbEntityEntry_Member_works_for_collections_under_partial_trust()
{
using (var context = new SimpleModelContext())
@@ -81,7 +81,7 @@ public void DbEntityEntry_Member_works_for_collections_under_partial_trust()
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void Non_generic_DbSet_Create_works_under_partial_trust()
{
using (var context = new AdvancedPatternsMasterContext())
@@ -94,7 +94,7 @@ public void Non_generic_DbSet_Create_works_under_partial_trust()
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void DbPropertyValues_SetValues_for_an_entity_wih_complex_objects_works_under_partial_trust()
{
using (var context = new AdvancedPatternsMasterContext())
@@ -129,7 +129,7 @@ public class PartialTrustSetsContext : DbContext
public DbSet<Product> Products { get; set; }
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void DbContext_set_initialization_works_under_partial_trust()
{
Database.SetInitializer<PartialTrustSetsContext>(null);
@@ -140,7 +140,7 @@ public void DbContext_set_initialization_works_under_partial_trust()
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void Non_generic_store_query_works_under_partial_trust()
{
using (var context = new SimpleModelContext())
@@ -151,7 +151,7 @@ public void Non_generic_store_query_works_under_partial_trust()
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void SelectMany_works_under_partial_trust()
{
using (var context = new SimpleModelForLinq())
@@ -167,7 +167,7 @@ public void SelectMany_works_under_partial_trust()
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void Setting_current_value_of_reference_nav_prop_works_under_partial_trust()
{
using (var context = new SimpleModelContext())
@@ -196,7 +196,7 @@ public List<IQueryable<int>> Test()
}
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void Query_with_top_level_nested_query_obtained_from_context_field_in_select_works_under_partial_trust()
{
var results = new ClassWithContextField().Test();
@@ -204,7 +204,7 @@ public void Query_with_top_level_nested_query_obtained_from_context_field_in_sel
Assert.Equal(7, results.Count);
}
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void PropertyConstraintException_can_be_serialized_and_deserialized_under_partial_trust()
{
try
@@ -231,7 +231,7 @@ private void ThrowPropertyConstraintException()
}
// Dev11 216491
- [Fact(Skip = "SDE Merge - No partial trust yet")]
+ // TODO: [Fact(Skip = "SDE Merge - No partial trust yet")]
public void IsAspNetEnvironment_swallows_security_exception_when_System_Web_is_considered_non_APTCA()
{
using (var sandbox = new PartialTrustSandbox(grantReflectionPermission: true))
View
2  test/EntityFramework/UnitTests/DbContextTests.cs
@@ -832,7 +832,7 @@ public void ProviderName_gets_name_from_internal_connection_ProviderName_when_la
mockContext.Verify(m => m.Connection, Times.Never());
}
- [Fact (Skip = "Provider registration needed.")]
+ // TODO: [Fact(Skip = "Provider registration needed.")]
public void Can_get_metadata_with_minimal_DbConnection_implementation()
{
// Required for use with MVC Scaffolding that uses Microsoft.VisualStudio.Web.Mvc.Scaffolding.BuiltIn.ScaffoldingDbConnection
View
2  test/EntityFramework/UnitTests/TargetAssemblyTests.cs
@@ -7,7 +7,7 @@
public class TargetAssemblyTests
{
- [Fact(Skip = "TODO: SDE Merge - Need to make assembly security transparent again")]
+ // TODO: [Fact(Skip = "TODO: SDE Merge - Need to make assembly security transparent again")]
public void EntityFramework_assembly_is_security_transparent()
{
Assert.Equal(1, typeof(DbContext).Assembly.GetCustomAttributes(true).OfType<SecurityTransparentAttribute>().Count());
Please sign in to comment.
Something went wrong with that request. Please try again.