Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
Doug Bunting d56a97f593
Rename Formatting projects and more (#392)
* Rename `netstandard` Formatting projects
  - Formatting.NetCore and Formatting.NetStandard names no longer make sense

* Adjust `netstandard` Formatting output paths
  - align w/ new project names

* Use `NETSTANDARD1_3` and `Testing_NetStandard1_3`
  - `NETFX_CORE` name no longer makes much sense
  - remove both `NETFX_CORE` C# defined constant and `msbuild` property
    - manually-defined constant completely unnecessary in src/ code

* Remove RuntimePortable.sln
  - solution name no longer makes much sense and division adds little or no value
  - add .NET Standard projects to Runtime.sln
  - add solution filters for .NET Framework and .NET Standard projects
  - remove `$(BuildPortable)` property and `@(SolutionsToBuild)` item group
2023-02-28 11:52:52 -08:00
Doug Bunting feb9b134b0
Move NuGet.config to repo root (#374)
- not sure why this wasn't done ages ago
2022-12-11 21:22:42 -08:00
Doug Bunting 634c9d2863 Move to MSBuild v15.0 and latest xUnit MSBuild runner
- change `CultureUtilTest` to use `Thread.CurrentThread`
  - when hosted in latest MSBuild, changing `thread.CurrentThread` changes `Thread.CurrentThread` instead
- find current Microsoft.Build.Tasks assembly in WebStack.tasks.targets, not just the WebApiHelpPage project
- add `$(TestInParallel)`
  - allows user to e.g. build in parallel but test assemblies serially
  - default remains doing everything in parallel
- change build.cmd to set %ErrorLevel% when exiting
- add empty top-level Directory.Build.* files

Use only VS 2017 or later
- ensure same MSBuild features are available in command-line and VS builds
- move `$(MinimumVisualStudioVersion)` project settings to global location and bump required version up

Use Microsoft.NET.Sdk and `<PackageReference/>`s in .NET Standard project
- create a "real" .NET Standard 1.1 assembly, not .NET Portable v5.0

Move to latest version of the xUnit MSBuild runner
- v2.3.0 has a few bugs related to XML results files e.g. xunit/xunit#1515
- switch to current XML results format (required with v2.3.0 but doesn't hurt with later versions)
- make runner discovery version-independent
- add support for `msbuild /t:test` in test project directories
2017-10-23 08:55:04 -07:00
Congyong Su 27e6385349 Build OData folder
Add build related files etc. to OData folder:
    build.cmd
    WebApiOData.msbuild
    WebApiOData.sln
    .nuget
    tools
    src
        Common (some depending files, e.g., for Error.ArgumentNull)
        CommonAssemblyInfo.cs
        GlobalSuppressions.cs
        Settings.StyleCop
        Strict.ruleset
    test
        Common (ContextUtil.cs, MediaTypeFormatterTestBase.cs)
        Microsoft.TestCommon (a .csproj contains xUnit ref, Assert etc.)
        Settings.StyleCop

Change project references to nuget ref:
    System.Net.Http.Formatting
    System.Web.Http
    =>
    src packages.config:
      <package id="Microsoft.AspNet.WebApi.Client" version="5.2.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Core" version="5.2.0" targetFramework="net45" />

    test packages.config:
    +  <package id="Microsoft.AspNet.WebApi.SelfHost" version="5.2.0" targetFramework="net45" />

Remove OData src and test projects from Runtime.sln and repositories.config

Build succeeds, all test cases pass.
2014-07-30 13:47:35 +08:00
N. Taylor Mullen ba644b54dc Update dll/namespace of Microsoft.AspNet.Mvc.Facebook.
Changed it to Microsoft.AspNet.Facebook.
2014-05-16 19:34:10 -07:00
Congyong Su de22e048cd Create webapi.odata projects for v4 OData
1. Copy System.Web.Http.OData to System.Web.OData
2. Copy System.Web.Http.OData.Test to System.Web.OData.Test
3. Generate new project guids
4. Set new src project InternalsVisibleTo to new test project
5. Update with latest changes from System.Web.Http.OData and the test project
6. Add 2 new projects to SkipStrongNames.xml
7. AssemblyTitle change
8. Move SuppressMessage from AssemblyInfo.cs to GlobalSuppressions.cs
9. Not change test project System.Web.OData.Test's RootNamespace (System.Web.Http) for now, since test resource files depend on it.
10. Suppress CA1704:IdentifiersShouldBeSpelledCorrectly for Unsortable.
2013-12-13 21:36:13 +08:00
davidmatson 9ce99ff086 Switch to NuGet's new automatic package restore. 2013-10-28 15:52:46 -07:00
youssefm df65fe0f63 Combine System.Web.Http.Owin and System.Web.Http.OwinHost 2013-05-14 16:26:37 -07:00
raghuramn af63fa3c1f Enable SkipStrongName for System.Web.Owin and corresponding test dll
1) Enable SkipStrongName for System.Web.Owin and System.Web.Owin.Test
2) updating Runtime.sln to build System.Web.Http.Owin and
System.Web.Owin.Test into CodeAnlaysis directory
2013-05-08 12:00:39 -07:00
davidmatson 2d286fe139 Add System.Web.Http.Owin with initial OWIN extension methods. 2013-05-03 09:08:50 -07:00
youssefm 9ea78b8f7b Rename System.Web.Http.Owin to System.Web.Http.OwinHost 2013-04-16 15:15:14 -07:00
youssefm 18cb600a3f Introducing an OWIN Web API Adapter - System.Web.Http.Owin 2013-04-12 17:38:52 -07:00
yaohuang 4284ca5270 CORS support for Web API
This feature allows cross-origin requests to be made from the browser based the CORS specifications.
2013-03-12 18:36:58 -07:00
davidmatson 7825aa4e5b Move SkipStrongNames inside of build.cmd. 2013-03-05 18:04:24 -08:00
davidmatson 38629c9e31 Enable package restore for solution.
Enable using VS to restore packages.
2013-02-27 11:19:48 -08:00
phenning 91f78bc347 Update Runtime build to not require portable SDK to be installed 2013-02-26 16:14:17 -08:00
phenning 83169ad25a Convert System.Net.Http.Formatting WinRT assembly into portable library 2013-02-25 15:49:52 -08:00
yaohuang c18dbd8306 Upgrading the projects to .NET 4.5
Updating all the package references
Upgrading to Json.Net 4.5.11
Fixing the following issues which prevent the projects from building in 4.5:
* MachineKey.Encode/Decode are deprecated in 4.5
* ParameterInfo.GetCustomAttributes<T> was added in 4.5 causing ambiguity
* UnvalidatedRequestValues was added in 4.5 causing ambiguity
2013-02-13 18:29:13 -08:00
phenning 8d409f2151 Issue 809: [MQ] Merge Extensions sln into Runtime sln 2013-02-08 13:55:35 -08:00
davidmatson bcb1cb5156 Remove deprecated SPA and data projects. 2013-01-18 16:14:37 -08:00
davidmatson 6ffc7427db Move WinRT project into RuntimeRT.sln.
Split Runtime.sln into .NET and WinRT solutions. Remove the VS2010-only
solution configurations.
2013-01-17 10:17:19 -08:00
davidmatson 0f37426c4a Create separate CodeAnalysis configuration.
Remove SuppressMessage attributes from Release configuration.
Also, cleanup project file settings/make consistent.
2012-11-08 14:20:29 -08:00
phenning 8d8f0c19d5 Make build work on VS2010/Win7 as well as VS2012/Win8 2012-09-28 10:59:08 -07:00
bradwilson 6a8ec3e366 Add System.Net.Http.Formatting.NetCore to Runtime.sln 2012-09-12 16:32:21 -07:00
anurse e007ff818a Merge WebMatrix Razor editor fixes in to master
Merge branch 'v2-rtm'
2012-08-28 14:19:02 -07:00
anurse 7dd23c1d2f Added Asserts for invalid data issues 2012-08-08 11:47:04 -07:00
roncain bdfaf49f33 Merged System.Net.Http.Formatting unit and integration test projects into single project. 2012-07-12 12:42:04 -07:00
bradwilson 372fb8888f Remove System.Json 2012-07-02 11:17:06 -07:00
bradwilson f147f70b6a Disabling Microsoft.Web.Http.Data.Helpers.Test because it breaks the build 2012-04-26 12:02:01 -07:00
Brad Olenick dae3d6c7ee Fixed SPA after Json.NET integration into WebAPI. 2012-04-24 12:18:35 -07:00
bradwilson 43ce365772 Solution cleanup 2012-03-23 19:06:53 -07:00
bradwilson 387212fd63 Removed System.Web.Http.Common 2012-03-20 17:46:31 -07:00
henrikn 645d8c561a Fixed but 371400
Added test project for selfhost and added test for HttpSelfHostConfiguration (fixed bugs that showed up as a result)

Added helpers for verifying properties of type int/long/bool/enum -- this compliments the one we have already for reference types.
2012-03-15 14:11:42 -07:00
bradwilson 0f8c45fe03 Initial revision. 2012-03-11 10:17:56 -07:00