mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-20 06:02:23 +00:00
commit
8986a96100
18 changed files with 42 additions and 684 deletions
BIN
v2rayN/v2rayN/LIB/Google.Protobuf.dll
Normal file
BIN
v2rayN/v2rayN/LIB/Google.Protobuf.dll
Normal file
Binary file not shown.
BIN
v2rayN/v2rayN/LIB/Grpc.Core.Api.dll
Normal file
BIN
v2rayN/v2rayN/LIB/Grpc.Core.Api.dll
Normal file
Binary file not shown.
BIN
v2rayN/v2rayN/LIB/Grpc.Core.dll
Normal file
BIN
v2rayN/v2rayN/LIB/Grpc.Core.dll
Normal file
Binary file not shown.
BIN
v2rayN/v2rayN/LIB/System.Buffers.dll
Normal file
BIN
v2rayN/v2rayN/LIB/System.Buffers.dll
Normal file
Binary file not shown.
BIN
v2rayN/v2rayN/LIB/System.Memory.dll
Normal file
BIN
v2rayN/v2rayN/LIB/System.Memory.dll
Normal file
Binary file not shown.
BIN
v2rayN/v2rayN/LIB/System.Runtime.CompilerServices.Unsafe.dll
Normal file
BIN
v2rayN/v2rayN/LIB/System.Runtime.CompilerServices.Unsafe.dll
Normal file
Binary file not shown.
BIN
v2rayN/v2rayN/LIB/grpc_csharp_ext.x64.dll
Normal file
BIN
v2rayN/v2rayN/LIB/grpc_csharp_ext.x64.dll
Normal file
Binary file not shown.
BIN
v2rayN/v2rayN/LIB/grpc_csharp_ext.x86.dll
Normal file
BIN
v2rayN/v2rayN/LIB/grpc_csharp_ext.x86.dll
Normal file
Binary file not shown.
|
@ -52,7 +52,7 @@ namespace v2rayN
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string resourceName = "v2rayN." + new AssemblyName(args.Name).Name + ".dll";
|
string resourceName = "v2rayN.LIB." + new AssemblyName(args.Name).Name + ".dll";
|
||||||
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName))
|
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName))
|
||||||
{
|
{
|
||||||
if (stream == null)
|
if (stream == null)
|
||||||
|
|
BIN
v2rayN/v2rayN/grpc_csharp_ext.x64.dll
Normal file
BIN
v2rayN/v2rayN/grpc_csharp_ext.x64.dll
Normal file
Binary file not shown.
BIN
v2rayN/v2rayN/grpc_csharp_ext.x86.dll
Normal file
BIN
v2rayN/v2rayN/grpc_csharp_ext.x86.dll
Normal file
Binary file not shown.
|
@ -1,11 +1,4 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Google.Protobuf" version="3.9.1" targetFramework="net46" />
|
|
||||||
<package id="Grpc" version="2.23.0" targetFramework="net46" />
|
|
||||||
<package id="Grpc.Core" version="2.23.0" targetFramework="net46" />
|
|
||||||
<package id="Grpc.Core.Api" version="2.23.0" targetFramework="net46" />
|
|
||||||
<package id="Grpc.Tools" version="2.23.0" targetFramework="net46" developmentDependency="true" />
|
<package id="Grpc.Tools" version="2.23.0" targetFramework="net46" developmentDependency="true" />
|
||||||
<package id="System.Buffers" version="4.4.0" targetFramework="net46" />
|
|
||||||
<package id="System.Memory" version="4.5.3" targetFramework="net46" />
|
|
||||||
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.2" targetFramework="net46" />
|
|
||||||
</packages>
|
</packages>
|
|
@ -1,560 +0,0 @@
|
||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: command.proto
|
|
||||||
#pragma warning disable 1591, 0612, 3021
|
|
||||||
#region Designer generated code
|
|
||||||
|
|
||||||
using pb = global::Google.Protobuf;
|
|
||||||
using pbc = global::Google.Protobuf.Collections;
|
|
||||||
using pbr = global::Google.Protobuf.Reflection;
|
|
||||||
using scg = global::System.Collections.Generic;
|
|
||||||
namespace V2Ray.Core.App.Stats.Command {
|
|
||||||
|
|
||||||
/// <summary>Holder for reflection information generated from command.proto</summary>
|
|
||||||
public static partial class CommandReflection {
|
|
||||||
|
|
||||||
#region Descriptor
|
|
||||||
/// <summary>File descriptor for command.proto</summary>
|
|
||||||
public static pbr::FileDescriptor Descriptor {
|
|
||||||
get { return descriptor; }
|
|
||||||
}
|
|
||||||
private static pbr::FileDescriptor descriptor;
|
|
||||||
|
|
||||||
static CommandReflection() {
|
|
||||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
||||||
string.Concat(
|
|
||||||
"Cg1jb21tYW5kLnByb3RvEhx2MnJheS5jb3JlLmFwcC5zdGF0cy5jb21tYW5k",
|
|
||||||
"Ii4KD0dldFN0YXRzUmVxdWVzdBIMCgRuYW1lGAEgASgJEg0KBXJlc2V0GAIg",
|
|
||||||
"ASgIIiMKBFN0YXQSDAoEbmFtZRgBIAEoCRINCgV2YWx1ZRgCIAEoAyJEChBH",
|
|
||||||
"ZXRTdGF0c1Jlc3BvbnNlEjAKBHN0YXQYASABKAsyIi52MnJheS5jb3JlLmFw",
|
|
||||||
"cC5zdGF0cy5jb21tYW5kLlN0YXQiCAoGQ29uZmlnMnsKDFN0YXRzU2Vydmlj",
|
|
||||||
"ZRJrCghHZXRTdGF0cxItLnYycmF5LmNvcmUuYXBwLnN0YXRzLmNvbW1hbmQu",
|
|
||||||
"R2V0U3RhdHNSZXF1ZXN0Gi4udjJyYXkuY29yZS5hcHAuc3RhdHMuY29tbWFu",
|
|
||||||
"ZC5HZXRTdGF0c1Jlc3BvbnNlIgBCTAogY29tLnYycmF5LmNvcmUuYXBwLnN0",
|
|
||||||
"YXRzLmNvbW1hbmRQAVoHY29tbWFuZKoCHFYyUmF5LkNvcmUuQXBwLlN0YXRz",
|
|
||||||
"LkNvbW1hbmRiBnByb3RvMw=="));
|
|
||||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
||||||
new pbr::FileDescriptor[] { },
|
|
||||||
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
||||||
new pbr::GeneratedClrTypeInfo(typeof(global::V2Ray.Core.App.Stats.Command.GetStatsRequest), global::V2Ray.Core.App.Stats.Command.GetStatsRequest.Parser, new[]{ "Name", "Reset" }, null, null, null),
|
|
||||||
new pbr::GeneratedClrTypeInfo(typeof(global::V2Ray.Core.App.Stats.Command.Stat), global::V2Ray.Core.App.Stats.Command.Stat.Parser, new[]{ "Name", "Value" }, null, null, null),
|
|
||||||
new pbr::GeneratedClrTypeInfo(typeof(global::V2Ray.Core.App.Stats.Command.GetStatsResponse), global::V2Ray.Core.App.Stats.Command.GetStatsResponse.Parser, new[]{ "Stat" }, null, null, null),
|
|
||||||
new pbr::GeneratedClrTypeInfo(typeof(global::V2Ray.Core.App.Stats.Command.Config), global::V2Ray.Core.App.Stats.Command.Config.Parser, null, null, null, null)
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
}
|
|
||||||
#region Messages
|
|
||||||
public sealed partial class GetStatsRequest : pb::IMessage<GetStatsRequest> {
|
|
||||||
private static readonly pb::MessageParser<GetStatsRequest> _parser = new pb::MessageParser<GetStatsRequest>(() => new GetStatsRequest());
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public static pb::MessageParser<GetStatsRequest> Parser { get { return _parser; } }
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public static pbr::MessageDescriptor Descriptor {
|
|
||||||
get { return global::V2Ray.Core.App.Stats.Command.CommandReflection.Descriptor.MessageTypes[0]; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
||||||
get { return Descriptor; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public GetStatsRequest() {
|
|
||||||
OnConstruction();
|
|
||||||
}
|
|
||||||
|
|
||||||
partial void OnConstruction();
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public GetStatsRequest(GetStatsRequest other) : this() {
|
|
||||||
name_ = other.name_;
|
|
||||||
reset_ = other.reset_;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public GetStatsRequest Clone() {
|
|
||||||
return new GetStatsRequest(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Field number for the "name" field.</summary>
|
|
||||||
public const int NameFieldNumber = 1;
|
|
||||||
private string name_ = "";
|
|
||||||
/// <summary>
|
|
||||||
/// Name of the stat counter.
|
|
||||||
/// </summary>
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public string Name {
|
|
||||||
get { return name_; }
|
|
||||||
set {
|
|
||||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Field number for the "reset" field.</summary>
|
|
||||||
public const int ResetFieldNumber = 2;
|
|
||||||
private bool reset_;
|
|
||||||
/// <summary>
|
|
||||||
/// Whether or not to reset the counter to fetching its value.
|
|
||||||
/// </summary>
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public bool Reset {
|
|
||||||
get { return reset_; }
|
|
||||||
set {
|
|
||||||
reset_ = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override bool Equals(object other) {
|
|
||||||
return Equals(other as GetStatsRequest);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public bool Equals(GetStatsRequest other) {
|
|
||||||
if (ReferenceEquals(other, null)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (ReferenceEquals(other, this)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (Name != other.Name) return false;
|
|
||||||
if (Reset != other.Reset) return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override int GetHashCode() {
|
|
||||||
int hash = 1;
|
|
||||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
||||||
if (Reset != false) hash ^= Reset.GetHashCode();
|
|
||||||
return hash;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override string ToString() {
|
|
||||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void WriteTo(pb::CodedOutputStream output) {
|
|
||||||
if (Name.Length != 0) {
|
|
||||||
output.WriteRawTag(10);
|
|
||||||
output.WriteString(Name);
|
|
||||||
}
|
|
||||||
if (Reset != false) {
|
|
||||||
output.WriteRawTag(16);
|
|
||||||
output.WriteBool(Reset);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public int CalculateSize() {
|
|
||||||
int size = 0;
|
|
||||||
if (Name.Length != 0) {
|
|
||||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
||||||
}
|
|
||||||
if (Reset != false) {
|
|
||||||
size += 1 + 1;
|
|
||||||
}
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void MergeFrom(GetStatsRequest other) {
|
|
||||||
if (other == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (other.Name.Length != 0) {
|
|
||||||
Name = other.Name;
|
|
||||||
}
|
|
||||||
if (other.Reset != false) {
|
|
||||||
Reset = other.Reset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void MergeFrom(pb::CodedInputStream input) {
|
|
||||||
uint tag;
|
|
||||||
while ((tag = input.ReadTag()) != 0) {
|
|
||||||
switch(tag) {
|
|
||||||
default:
|
|
||||||
input.SkipLastField();
|
|
||||||
break;
|
|
||||||
case 10: {
|
|
||||||
Name = input.ReadString();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 16: {
|
|
||||||
Reset = input.ReadBool();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public sealed partial class Stat : pb::IMessage<Stat> {
|
|
||||||
private static readonly pb::MessageParser<Stat> _parser = new pb::MessageParser<Stat>(() => new Stat());
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public static pb::MessageParser<Stat> Parser { get { return _parser; } }
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public static pbr::MessageDescriptor Descriptor {
|
|
||||||
get { return global::V2Ray.Core.App.Stats.Command.CommandReflection.Descriptor.MessageTypes[1]; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
||||||
get { return Descriptor; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public Stat() {
|
|
||||||
OnConstruction();
|
|
||||||
}
|
|
||||||
|
|
||||||
partial void OnConstruction();
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public Stat(Stat other) : this() {
|
|
||||||
name_ = other.name_;
|
|
||||||
value_ = other.value_;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public Stat Clone() {
|
|
||||||
return new Stat(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Field number for the "name" field.</summary>
|
|
||||||
public const int NameFieldNumber = 1;
|
|
||||||
private string name_ = "";
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public string Name {
|
|
||||||
get { return name_; }
|
|
||||||
set {
|
|
||||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Field number for the "value" field.</summary>
|
|
||||||
public const int ValueFieldNumber = 2;
|
|
||||||
private long value_;
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public long Value {
|
|
||||||
get { return value_; }
|
|
||||||
set {
|
|
||||||
value_ = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override bool Equals(object other) {
|
|
||||||
return Equals(other as Stat);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public bool Equals(Stat other) {
|
|
||||||
if (ReferenceEquals(other, null)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (ReferenceEquals(other, this)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (Name != other.Name) return false;
|
|
||||||
if (Value != other.Value) return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override int GetHashCode() {
|
|
||||||
int hash = 1;
|
|
||||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
||||||
if (Value != 0L) hash ^= Value.GetHashCode();
|
|
||||||
return hash;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override string ToString() {
|
|
||||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void WriteTo(pb::CodedOutputStream output) {
|
|
||||||
if (Name.Length != 0) {
|
|
||||||
output.WriteRawTag(10);
|
|
||||||
output.WriteString(Name);
|
|
||||||
}
|
|
||||||
if (Value != 0L) {
|
|
||||||
output.WriteRawTag(16);
|
|
||||||
output.WriteInt64(Value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public int CalculateSize() {
|
|
||||||
int size = 0;
|
|
||||||
if (Name.Length != 0) {
|
|
||||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
||||||
}
|
|
||||||
if (Value != 0L) {
|
|
||||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Value);
|
|
||||||
}
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void MergeFrom(Stat other) {
|
|
||||||
if (other == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (other.Name.Length != 0) {
|
|
||||||
Name = other.Name;
|
|
||||||
}
|
|
||||||
if (other.Value != 0L) {
|
|
||||||
Value = other.Value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void MergeFrom(pb::CodedInputStream input) {
|
|
||||||
uint tag;
|
|
||||||
while ((tag = input.ReadTag()) != 0) {
|
|
||||||
switch(tag) {
|
|
||||||
default:
|
|
||||||
input.SkipLastField();
|
|
||||||
break;
|
|
||||||
case 10: {
|
|
||||||
Name = input.ReadString();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 16: {
|
|
||||||
Value = input.ReadInt64();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public sealed partial class GetStatsResponse : pb::IMessage<GetStatsResponse> {
|
|
||||||
private static readonly pb::MessageParser<GetStatsResponse> _parser = new pb::MessageParser<GetStatsResponse>(() => new GetStatsResponse());
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public static pb::MessageParser<GetStatsResponse> Parser { get { return _parser; } }
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public static pbr::MessageDescriptor Descriptor {
|
|
||||||
get { return global::V2Ray.Core.App.Stats.Command.CommandReflection.Descriptor.MessageTypes[2]; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
||||||
get { return Descriptor; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public GetStatsResponse() {
|
|
||||||
OnConstruction();
|
|
||||||
}
|
|
||||||
|
|
||||||
partial void OnConstruction();
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public GetStatsResponse(GetStatsResponse other) : this() {
|
|
||||||
Stat = other.stat_ != null ? other.Stat.Clone() : null;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public GetStatsResponse Clone() {
|
|
||||||
return new GetStatsResponse(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Field number for the "stat" field.</summary>
|
|
||||||
public const int StatFieldNumber = 1;
|
|
||||||
private global::V2Ray.Core.App.Stats.Command.Stat stat_;
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public global::V2Ray.Core.App.Stats.Command.Stat Stat {
|
|
||||||
get { return stat_; }
|
|
||||||
set {
|
|
||||||
stat_ = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override bool Equals(object other) {
|
|
||||||
return Equals(other as GetStatsResponse);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public bool Equals(GetStatsResponse other) {
|
|
||||||
if (ReferenceEquals(other, null)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (ReferenceEquals(other, this)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (!object.Equals(Stat, other.Stat)) return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override int GetHashCode() {
|
|
||||||
int hash = 1;
|
|
||||||
if (stat_ != null) hash ^= Stat.GetHashCode();
|
|
||||||
return hash;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override string ToString() {
|
|
||||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void WriteTo(pb::CodedOutputStream output) {
|
|
||||||
if (stat_ != null) {
|
|
||||||
output.WriteRawTag(10);
|
|
||||||
output.WriteMessage(Stat);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public int CalculateSize() {
|
|
||||||
int size = 0;
|
|
||||||
if (stat_ != null) {
|
|
||||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Stat);
|
|
||||||
}
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void MergeFrom(GetStatsResponse other) {
|
|
||||||
if (other == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (other.stat_ != null) {
|
|
||||||
if (stat_ == null) {
|
|
||||||
stat_ = new global::V2Ray.Core.App.Stats.Command.Stat();
|
|
||||||
}
|
|
||||||
Stat.MergeFrom(other.Stat);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void MergeFrom(pb::CodedInputStream input) {
|
|
||||||
uint tag;
|
|
||||||
while ((tag = input.ReadTag()) != 0) {
|
|
||||||
switch(tag) {
|
|
||||||
default:
|
|
||||||
input.SkipLastField();
|
|
||||||
break;
|
|
||||||
case 10: {
|
|
||||||
if (stat_ == null) {
|
|
||||||
stat_ = new global::V2Ray.Core.App.Stats.Command.Stat();
|
|
||||||
}
|
|
||||||
input.ReadMessage(stat_);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public sealed partial class Config : pb::IMessage<Config> {
|
|
||||||
private static readonly pb::MessageParser<Config> _parser = new pb::MessageParser<Config>(() => new Config());
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public static pb::MessageParser<Config> Parser { get { return _parser; } }
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public static pbr::MessageDescriptor Descriptor {
|
|
||||||
get { return global::V2Ray.Core.App.Stats.Command.CommandReflection.Descriptor.MessageTypes[3]; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
||||||
get { return Descriptor; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public Config() {
|
|
||||||
OnConstruction();
|
|
||||||
}
|
|
||||||
|
|
||||||
partial void OnConstruction();
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public Config(Config other) : this() {
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public Config Clone() {
|
|
||||||
return new Config(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override bool Equals(object other) {
|
|
||||||
return Equals(other as Config);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public bool Equals(Config other) {
|
|
||||||
if (ReferenceEquals(other, null)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (ReferenceEquals(other, this)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override int GetHashCode() {
|
|
||||||
int hash = 1;
|
|
||||||
return hash;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public override string ToString() {
|
|
||||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void WriteTo(pb::CodedOutputStream output) {
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public int CalculateSize() {
|
|
||||||
int size = 0;
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void MergeFrom(Config other) {
|
|
||||||
if (other == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
||||||
public void MergeFrom(pb::CodedInputStream input) {
|
|
||||||
uint tag;
|
|
||||||
while ((tag = input.ReadTag()) != 0) {
|
|
||||||
switch(tag) {
|
|
||||||
default:
|
|
||||||
input.SkipLastField();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion Designer generated code
|
|
|
@ -1,97 +0,0 @@
|
||||||
// <auto-generated>
|
|
||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: command.proto
|
|
||||||
// </auto-generated>
|
|
||||||
#pragma warning disable 1591
|
|
||||||
#region Designer generated code
|
|
||||||
|
|
||||||
using grpc = global::Grpc.Core;
|
|
||||||
|
|
||||||
namespace V2Ray.Core.App.Stats.Command {
|
|
||||||
public static partial class StatsService
|
|
||||||
{
|
|
||||||
static readonly string __ServiceName = "v2ray.core.app.stats.command.StatsService";
|
|
||||||
|
|
||||||
static readonly grpc::Marshaller<global::V2Ray.Core.App.Stats.Command.GetStatsRequest> __Marshaller_GetStatsRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::V2Ray.Core.App.Stats.Command.GetStatsRequest.Parser.ParseFrom);
|
|
||||||
static readonly grpc::Marshaller<global::V2Ray.Core.App.Stats.Command.GetStatsResponse> __Marshaller_GetStatsResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::V2Ray.Core.App.Stats.Command.GetStatsResponse.Parser.ParseFrom);
|
|
||||||
|
|
||||||
static readonly grpc::Method<global::V2Ray.Core.App.Stats.Command.GetStatsRequest, global::V2Ray.Core.App.Stats.Command.GetStatsResponse> __Method_GetStats = new grpc::Method<global::V2Ray.Core.App.Stats.Command.GetStatsRequest, global::V2Ray.Core.App.Stats.Command.GetStatsResponse>(
|
|
||||||
grpc::MethodType.Unary,
|
|
||||||
__ServiceName,
|
|
||||||
"GetStats",
|
|
||||||
__Marshaller_GetStatsRequest,
|
|
||||||
__Marshaller_GetStatsResponse);
|
|
||||||
|
|
||||||
/// <summary>Service descriptor</summary>
|
|
||||||
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
|
|
||||||
{
|
|
||||||
get { return global::V2Ray.Core.App.Stats.Command.CommandReflection.Descriptor.Services[0]; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Base class for server-side implementations of StatsService</summary>
|
|
||||||
public abstract partial class StatsServiceBase
|
|
||||||
{
|
|
||||||
public virtual global::System.Threading.Tasks.Task<global::V2Ray.Core.App.Stats.Command.GetStatsResponse> GetStats(global::V2Ray.Core.App.Stats.Command.GetStatsRequest request, grpc::ServerCallContext context)
|
|
||||||
{
|
|
||||||
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Client for StatsService</summary>
|
|
||||||
public partial class StatsServiceClient : grpc::ClientBase<StatsServiceClient>
|
|
||||||
{
|
|
||||||
/// <summary>Creates a new client for StatsService</summary>
|
|
||||||
/// <param name="channel">The channel to use to make remote calls.</param>
|
|
||||||
public StatsServiceClient(grpc::Channel channel) : base(channel)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
/// <summary>Creates a new client for StatsService that uses a custom <c>CallInvoker</c>.</summary>
|
|
||||||
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
|
|
||||||
public StatsServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
/// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
|
|
||||||
protected StatsServiceClient() : base()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
/// <summary>Protected constructor to allow creation of configured clients.</summary>
|
|
||||||
/// <param name="configuration">The client configuration.</param>
|
|
||||||
protected StatsServiceClient(ClientBaseConfiguration configuration) : base(configuration)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual global::V2Ray.Core.App.Stats.Command.GetStatsResponse GetStats(global::V2Ray.Core.App.Stats.Command.GetStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
||||||
{
|
|
||||||
return GetStats(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
||||||
}
|
|
||||||
public virtual global::V2Ray.Core.App.Stats.Command.GetStatsResponse GetStats(global::V2Ray.Core.App.Stats.Command.GetStatsRequest request, grpc::CallOptions options)
|
|
||||||
{
|
|
||||||
return CallInvoker.BlockingUnaryCall(__Method_GetStats, null, options, request);
|
|
||||||
}
|
|
||||||
public virtual grpc::AsyncUnaryCall<global::V2Ray.Core.App.Stats.Command.GetStatsResponse> GetStatsAsync(global::V2Ray.Core.App.Stats.Command.GetStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
||||||
{
|
|
||||||
return GetStatsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
||||||
}
|
|
||||||
public virtual grpc::AsyncUnaryCall<global::V2Ray.Core.App.Stats.Command.GetStatsResponse> GetStatsAsync(global::V2Ray.Core.App.Stats.Command.GetStatsRequest request, grpc::CallOptions options)
|
|
||||||
{
|
|
||||||
return CallInvoker.AsyncUnaryCall(__Method_GetStats, null, options, request);
|
|
||||||
}
|
|
||||||
/// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
|
|
||||||
protected override StatsServiceClient NewInstance(ClientBaseConfiguration configuration)
|
|
||||||
{
|
|
||||||
return new StatsServiceClient(configuration);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Creates service definition that can be registered with a server</summary>
|
|
||||||
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
|
|
||||||
public static grpc::ServerServiceDefinition BindService(StatsServiceBase serviceImpl)
|
|
||||||
{
|
|
||||||
return grpc::ServerServiceDefinition.CreateBuilder()
|
|
||||||
.AddMethod(__Method_GetStats, serviceImpl.GetStats).Build();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
|
@ -76,21 +76,30 @@
|
||||||
<PropertyGroup />
|
<PropertyGroup />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Google.Protobuf, Version=3.9.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
<Reference Include="Google.Protobuf, Version=3.9.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Google.Protobuf.3.9.1\lib\net45\Google.Protobuf.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\Google.Protobuf.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Grpc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad, processorArchitecture=MSIL">
|
<Reference Include="Grpc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Grpc.Core.2.23.0\lib\net45\Grpc.Core.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\Grpc.Core.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Grpc.Core.Api, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad, processorArchitecture=MSIL">
|
<Reference Include="Grpc.Core.Api, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Grpc.Core.Api.2.23.0\lib\net45\Grpc.Core.Api.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\Grpc.Core.Api.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Newtonsoft.Json">
|
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>.\Newtonsoft.Json.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Buffers.4.4.0\lib\netstandard1.1\System.Buffers.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\System.Buffers.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
@ -101,20 +110,25 @@
|
||||||
<Reference Include="System.IO.Compression" />
|
<Reference Include="System.IO.Compression" />
|
||||||
<Reference Include="System.IO.Compression.FileSystem" />
|
<Reference Include="System.IO.Compression.FileSystem" />
|
||||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Memory.4.5.3\lib\netstandard1.1\System.Memory.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\System.Memory.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Net" />
|
<Reference Include="System.Net" />
|
||||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard1.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="zxing">
|
<Reference Include="zxing, Version=0.16.2.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
|
||||||
<HintPath>.\zxing.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\zxing.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="zxing.presentation">
|
<Reference Include="zxing.presentation, Version=0.16.2.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
|
||||||
<HintPath>.\zxing.presentation.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>LIB\zxing.presentation.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -346,9 +360,6 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="Sample\SampleClientConfig.txt" />
|
<EmbeddedResource Include="Sample\SampleClientConfig.txt" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Newtonsoft.Json.dll" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="Sample\SampleHttprequest.txt" />
|
<EmbeddedResource Include="Sample\SampleHttprequest.txt" />
|
||||||
<EmbeddedResource Include="Sample\SampleHttpresponse.txt" />
|
<EmbeddedResource Include="Sample\SampleHttpresponse.txt" />
|
||||||
|
@ -398,12 +409,24 @@
|
||||||
<None Include="Resources\sub.png" />
|
<None Include="Resources\sub.png" />
|
||||||
<None Include="Resources\checkupdate.png" />
|
<None Include="Resources\checkupdate.png" />
|
||||||
<None Include="Resources\about.png" />
|
<None Include="Resources\about.png" />
|
||||||
|
<EmbeddedResource Include="LIB\Google.Protobuf.dll" />
|
||||||
|
<EmbeddedResource Include="LIB\Grpc.Core.Api.dll" />
|
||||||
|
<EmbeddedResource Include="LIB\Grpc.Core.dll" />
|
||||||
|
<EmbeddedResource Include="LIB\Newtonsoft.Json.dll" />
|
||||||
|
<EmbeddedResource Include="LIB\System.Buffers.dll" />
|
||||||
|
<EmbeddedResource Include="LIB\System.Memory.dll" />
|
||||||
|
<EmbeddedResource Include="LIB\System.Runtime.CompilerServices.Unsafe.dll" />
|
||||||
|
<EmbeddedResource Include="LIB\zxing.dll" />
|
||||||
|
<EmbeddedResource Include="LIB\zxing.presentation.dll" />
|
||||||
|
<Content Include="grpc_csharp_ext.x64.dll">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="grpc_csharp_ext.x86.dll">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="Resources\help.png" />
|
<Content Include="Resources\help.png" />
|
||||||
<Content Include="Resources\privoxy_conf.txt" />
|
<Content Include="Resources\privoxy_conf.txt" />
|
||||||
<EmbeddedResource Include="zxing.presentation.dll" />
|
|
||||||
<EmbeddedResource Include="zxing.dll" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
@ -414,7 +437,6 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Error Condition="!Exists('..\packages\Grpc.Core.2.23.0\build\net45\Grpc.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Core.2.23.0\build\net45\Grpc.Core.targets'))" />
|
|
||||||
<Error Condition="!Exists('..\packages\Grpc.Tools.2.23.0\build\Grpc.Tools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Tools.2.23.0\build\Grpc.Tools.props'))" />
|
<Error Condition="!Exists('..\packages\Grpc.Tools.2.23.0\build\Grpc.Tools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Tools.2.23.0\build\Grpc.Tools.props'))" />
|
||||||
<Error Condition="!Exists('..\packages\Grpc.Tools.2.23.0\build\Grpc.Tools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Tools.2.23.0\build\Grpc.Tools.targets'))" />
|
<Error Condition="!Exists('..\packages\Grpc.Tools.2.23.0\build\Grpc.Tools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Tools.2.23.0\build\Grpc.Tools.targets'))" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
Loading…
Reference in a new issue