Merge pull request #39 from Microsoft/dev/jonchu/img
Add iconURL to nuspec, adding in some image assets, and file cleanup
This commit is contained in:
Коммит
2df6889d9b
2
FAQ.md
2
FAQ.md
|
@ -1,2 +0,0 @@
|
|||
#**Frequently Asked Questions**
|
||||
|
47
README.md
47
README.md
|
@ -5,7 +5,7 @@ Getting Started
|
|||
-------------------
|
||||
**Where to get it**
|
||||
|
||||
- NuGet package
|
||||
- NuGet package for [Native](https://www.nuget.org/packages/Microsoft.Xaml.Behaviors.Uwp.Native/) and [Managed](https://www.nuget.org/packages/Microsoft.Xaml.Behaviors.Uwp.Managed/)
|
||||
- [Source Code](https://github.com/Microsoft/XamlBehaviors)
|
||||
|
||||
**Resources**
|
||||
|
@ -16,9 +16,8 @@ Getting Started
|
|||
**More Info**
|
||||
|
||||
- [Report a bug or ask a question](https://github.com/Microsoft/XamlBehaviors/issues)
|
||||
- [Contribute](https://github.com/Microsoft/XamlBehaviors/blob/master/CONTRIBUTING.md)
|
||||
- [Contribute](https://github.com/Microsoft/XamlBehaviors/wiki/Contribute-to-XAML-Behaviors)
|
||||
- [License](http://opensource.org/licenses/MIT)
|
||||
- [FAQ](https://github.com/Microsoft/XamlBehaviors/blob/master/FAQ.md)
|
||||
|
||||
Code Example
|
||||
------------
|
||||
|
@ -38,41 +37,31 @@ For an example of using Behaviors in an application, here is a snippet of XAML:
|
|||
```
|
||||
Using Behaviors SDK
|
||||
-------------------
|
||||
The [documentation](https://github.com/Microsoft/XamlBehaviors/wiki) explains how to install Visual Studio, add the Behaviors SDK NuGet package to your project, and get started using the API.
|
||||
The [documentation](https://github.com/Microsoft/XamlBehaviors/wiki) explains how to install Visual Studio, add the XAML Behaviors NuGet package to your project, and get started using the API.
|
||||
|
||||
Building Behaviors from Source
|
||||
------------------------------
|
||||
**What You Need**
|
||||
|
||||
- [Visual Studio 2015 w/ Universal Windows Tools](https://www.visualstudio.com/features/windows-apps-games-vs)
|
||||
- [Visual Studio 2015 Update 1 w/ Universal Windows Tools](https://www.visualstudio.com/features/windows-apps-games-vs)
|
||||
|
||||
**Clone the Repository**
|
||||
|
||||
-Go to 'View' -> 'Team Explorer' -> 'Local Git Repositories' -> 'Clone'
|
||||
-Add the XAML Behaviors repository URL (https://github.com/Microsoft/XamlBehaviors) and hit 'Clone'
|
||||
|
||||
|
||||
**Build and Create Managed XAML Behaviors NuGet**
|
||||
|
||||
- [Clone the Repository](https://github.com/Microsoft/XamlBehaviors)
|
||||
- Open the solution in Visual Studio
|
||||
- Open the "BehaviorsSDKManaged.sln" solution in Visual Studio
|
||||
- Change Build Configuration to Release
|
||||
- Build [Shift + B]
|
||||
- Run scripts/CreateManagedNuGet.cmd
|
||||
- Build [Ctrl + B]
|
||||
- Install the latest NuGet command-line tool by running **scripts/download-nuget.cmd**
|
||||
- Run **scripts/CreateManagedNuGet.cmd**
|
||||
|
||||
**Build and Create Native XAML Behaviors NuGet**
|
||||
|
||||
- [Clone the Repository](https://github.com/Microsoft/XamlBehaviors)
|
||||
- Open the solution in Visual Studio
|
||||
- [Batch Build](https://msdn.microsoft.com/en-us/library/169az28z(v=vs.90).aspx) for x86, x64, and ARM
|
||||
- Run scripts/CreateNativeNuGet.cmd
|
||||
|
||||
Symbols
|
||||
-------
|
||||
|
||||
Note that due to the presence of the -Symbols switch in the nuget pack call embedded in the Create...NuGet.cmd scripts, a second package will be generated called <package name>.symbols.nuget. When uploading your NuGet package to nuget.org, nuget.exe will automatically detect this symbols package file (if it's in the same directory as the dll package) and upload it, not to nuget.org but to symbolsource.org (you can change which symbolsource server endpoint is used using the -Source switch, but this is the default). Note that this does not appear to happen when uploading your nuget package via the nuget.org website. Also note that while you can only upload a given version of a nuget.org package once, you can upload a symbol package for a version as many times as you like. To upload symbols for a nuget package already in nuget.org, you can specify the symbol package explicitly in a nuget push <package> command.
|
||||
|
||||
Examples:
|
||||
nuget push Microsoft.Xaml.Behaviors.Uwp.Managed.1.0.0.nupkg // upload the package, and Microsoft.Xaml.Behaviors.Uwp.Managed.1.0.0.symbols.nupkg if present
|
||||
nuget push Microsoft.Xaml.Behaviors.Uwp.Managed.1.0.0.symbols.nupkg // upload just the symbols for Microsoft.Xaml.Behaviors.Uwp.Managed.1.0.0.nupkg
|
||||
|
||||
In VS, setting http://srv.symbolsource.org/pdb/Public as a symbol file location will enable lookups to this package. You will have symbols and source in your behavior debugging sessions. Full details at http://docs.nuget.org/Create/Creating-and-Publishing-a-Symbol-Package and http://www.symbolsource.org/Public/Home/VisualStudio.
|
||||
|
||||
Versioning
|
||||
----------
|
||||
|
||||
Version files are all collected together into the source trees for the two SDKs, in src\<SDK>\Version. When revising a version for either SDK, be sure to change it in all files represented here before rebuilding and re-packaging. Keeping the NuGet package version in sync with the assemblies in that package will help avoid confusion.
|
||||
- Open the "BehaviorsSDKNative.sln" solution in Visual Studio
|
||||
- [Batch Build](https://msdn.microsoft.com/en-us/library/169az28z(v=vs.90).aspx) for x86, x64, and ARM in Release
|
||||
- Install the latest NuGet command-line tool by running **scripts/download-nuget.cmd**
|
||||
- Run **scripts/CreateNativeNuGet.cmd**
|
||||
|
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 2.7 KiB |
|
@ -10,6 +10,7 @@
|
|||
<description>Easily add interactivity to your apps using XAML Behaviors. Now with UWP support! Behaviors encapsulate reusable functionalities for elements that can be easily added to your XAML without the need for more imperative code. This is the managed version for C# UWP projects.</description>
|
||||
<licenseUrl>http://go.microsoft.com/fwlink/?LinkID=708401</licenseUrl>
|
||||
<projectUrl>http://go.microsoft.com/fwlink/?LinkID=651678</projectUrl>
|
||||
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=708511</iconUrl>
|
||||
<copyright>Copyright © Microsoft Corporation</copyright>
|
||||
<tags>Behavior Action Behaviors Actions Blend Managed C# Interaction Interactivity Interactions</tags>
|
||||
</metadata>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<description>Easily add interactivity to your apps using XAML Behaviors. Now with UWP support! Behaviors encapsulate reusable functionalities for elements that can be easily added to your XAML without the need for more imperative code. This is the native version for C++ UWP projects.</description>
|
||||
<licenseUrl>http://go.microsoft.com/fwlink/?LinkID=708401</licenseUrl>
|
||||
<projectUrl>http://go.microsoft.com/fwlink/?LinkID=651678</projectUrl>
|
||||
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=708511</iconUrl>
|
||||
<copyright>Copyright © Microsoft Corporation</copyright>
|
||||
<tags>Behavior Action Behaviors Actions Blend Native C++ Interaction Interactivity Interactions</tags>
|
||||
</metadata>
|
||||
|
|
Загрузка…
Ссылка в новой задаче