Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremytammik/disablemismatchwarning
Disable Processor Architecture Mismatch Warning MSB3270 in Revit Projects
https://github.com/jeremytammik/disablemismatchwarning
Last synced: 17 days ago
JSON representation
Disable Processor Architecture Mismatch Warning MSB3270 in Revit Projects
- Host: GitHub
- URL: https://github.com/jeremytammik/disablemismatchwarning
- Owner: jeremytammik
- License: mit
- Created: 2013-07-04T07:52:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-11-30T11:28:16.000Z (about 7 years ago)
- Last Synced: 2024-10-16T15:08:14.482Z (2 months ago)
- Language: C#
- Homepage: http://thebuildingcoder.typepad.com
- Size: 7.81 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DisableMismatchWarning
![Revit API](https://img.shields.io/badge/Revit%20API-2018-blue.svg)
![Platform](https://img.shields.io/badge/platform-Windows-lightgray.svg)
![.NET](https://img.shields.io/badge/.NET-4.5.2-blue.svg)
[![License](http://img.shields.io/:license-mit-blue.svg)](http://opensource.org/licenses/MIT)Disable Processor Architecture Mismatch Warning MSB3270 in Revit Projects
A standard Revit 2014 add-in project will generate a warning MSB3270 saying:
There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "RevitAPI, Version=2014.0.0.0, Culture=neutral, processorArchitecture=x86", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
This can be supressed by adding a new property group to the project file.
This C# .NET command line console application achieves this recursively for all C# and VB Visual Studio project files in and under the current working directory.
For more details, please refer to [The Building Coder Revit API blog](http://thebuildingcoder.typepad.com) articles:
- [Processor Architecture Mismatch Warning](http://thebuildingcoder.typepad.com/blog/2013/06/processor-architecture-mismatch-warning.html)
- [Recursively Disable Architecture Mismatch Warning](http://thebuildingcoder.typepad.com/blog/2013/07/recursively-disable-architecture-mismatch-warning.html)
- [DisableMismatchWarning Update](http://thebuildingcoder.typepad.com/blog/2014/09/architecture-mismatch-warning-disabler-update.html#3)## Author
Jeremy Tammik,
[The Building Coder](http://thebuildingcoder.typepad.com),
[ADN](http://www.autodesk.com/adn)
[Open](http://www.autodesk.com/adnopen),
[Autodesk Inc.](http://www.autodesk.com)## License
This sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Please see the [LICENSE](LICENSE) file for full details.