using shared option for Version.cs leaks it to nuget file

pull/7144/head
Jan Tattermusch 9 years ago
parent 103cd6de60
commit 3f594c117d
  1. 5
      templates/src/csharp/Grpc.Auth/project.json.template
  2. 1
      templates/src/csharp/Grpc.Core/project.json.template
  3. 5
      templates/src/csharp/Grpc.HealthCheck/project.json.template
  4. 6
      templates/src/csharp/build_options.include

@ -18,7 +18,10 @@
"define": [ "SIGNED" ],
"keyFile": "../keys/Grpc.snk",
"publicSign": true,
"xmlDoc": true
"xmlDoc": true,
"compile": {
"includeFiles": [ "../Grpc.Core/Version.cs" ]
}
},
"dependencies": {
"Grpc.Core": "${settings.csharp_version}",

@ -25,7 +25,6 @@
}
}
},
"shared": "Version.cs",
"buildOptions": {
"embed": [ "../../../etc/roots.pem" ],
"define": [ "SIGNED" ],

@ -18,7 +18,10 @@
"define": [ "SIGNED" ],
"keyFile": "../keys/Grpc.snk",
"publicSign": true,
"xmlDoc": true
"xmlDoc": true,
"compile": {
"includeFiles": [ "../Grpc.Core/Version.cs" ]
}
},
"dependencies": {
"Grpc.Core": "${settings.csharp_version}",

@ -12,6 +12,9 @@
"keyFile": "../keys/Grpc.snk",
"publicSign": true,
"xmlDoc": true,
"compile": {
"includeFiles": [ "../Grpc.Core/Version.cs" ]
},
"copyToOutput": {
% if includeData:
"include": "data/*",
@ -31,6 +34,9 @@
"keyFile": "../keys/Grpc.snk",
"publicSign": true,
"xmlDoc": true,
"compile": {
"includeFiles": [ "../Grpc.Core/Version.cs" ]
},
"copyToOutput": {
% if includeData:
"include": "data/*",

Loading…
Cancel
Save