You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44
Original file line number
Diff line number
Diff line change
@@ -55,3 +55,47 @@ Developing custom plugins
55
55
--------
56
56
57
57
You can develop and use some prebuilt plugins. See the [readme.md in the Plugins folder](https://github.com/gearz-lab/lambda2js/tree/master/Lambda2Js/Plugins).
58
+
59
+
Building and testing
60
+
--------------------
61
+
62
+
***ATENTION!*** Please, run the **ProjectsGenerator**
63
+
before doing any of these:
64
+
65
+
- build the signed assembly
66
+
- running tests for specific frameworks
67
+
68
+
Due to current Visual Studio limitations, I had to create
69
+
a project generator to create some of the `csproj` files:
70
+
71
+
-**Lambda2Js.Signed.csproj** is generated using the
72
+
`Lambda2Js.csproj` as it's template. It will copy the
73
+
package version to the FileVersion and to the
74
+
AssemblyVersion fields to keep them consistent.
75
+
Also, it adds the `".Signed"` string where appropriate
76
+
in file names and in project name, and finally it
77
+
includes a reference to the snk file.
78
+
79
+
-**Lambda2Js.Tests.$(TargetFramework).csproj** are
80
+
generated from `Lambda2Js.Tests.csproj`. That is needed
81
+
because this project is a multitargeted test project,
82
+
and Visual Studio cannot see the tests inside after
83
+
compiling it... so what I dis was: create copy projects
84
+
that have only one target framework for each of the
85
+
possible targets.
86
+
87
+
**Testing**
88
+
89
+
To test support on the .Net 4.0, you need to run the
90
+
`Test.Net-v4.0.csproj` because this framework version
91
+
does not support the native test attributes to do
92
+
automatic testing.
93
+
94
+
To test other framework versions, please, take a
95
+
look at the `TargetedTests` solution folder. In that
96
+
folder you will find all the tests. Unload all of them,
97
+
but keep the framework version you want to test,
98
+
then build it. Visual Studio will see the newly built
99
+
tests and will list them. If the other frameworks test
100
+
projects are not unloaded, Visual Studio may or may
0 commit comments