Compare commits
17
Commits
bf1846dad6
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67fa25e385 | ||
|
|
9333386aa7 | ||
|
|
9cc04a6133 | ||
|
|
334a8e95bc | ||
|
|
cc90e7f682 | ||
|
|
a57e3f48cf | ||
|
|
8181f31d27 | ||
|
|
ecb0873f7f | ||
|
|
de55203a12 | ||
|
|
9347ab03a6 | ||
|
|
4f3719b71f | ||
|
|
1a71f4bd71 | ||
|
|
677582d4bb | ||
|
|
6466d17905 | ||
|
|
ebf3d3069b | ||
|
|
9c06f80dd7 | ||
|
|
c2db233c35 |
@@ -452,3 +452,4 @@ $RECYCLE.BIN/
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
/AppData/Puce
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
using Microsoft.AspNetCore.Mvc.Formatters;
|
||||
|
||||
namespace CA_ANC.Formatters;
|
||||
public class Formatters {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class ByteArrayInputFormatter : InputFormatter
|
||||
{
|
||||
public ByteArrayInputFormatter()
|
||||
{
|
||||
SupportedMediaTypes.Add(Microsoft.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/octet-stream"));
|
||||
}
|
||||
|
||||
protected override bool CanReadType(Type type)
|
||||
{
|
||||
return type == typeof(byte[]);
|
||||
}
|
||||
|
||||
public async override Task<InputFormatterResult> ReadRequestBodyAsync(InputFormatterContext context)
|
||||
{
|
||||
var stream = new MemoryStream();
|
||||
await context.HttpContext.Request.Body.CopyToAsync(stream);
|
||||
return await InputFormatterResult.SuccessAsync(stream.ToArray());
|
||||
}
|
||||
}
|
||||
@@ -29,6 +29,5 @@ namespace VSERVERWS.Global {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,164 @@
|
||||
using System.Web;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Diagnostics;
|
||||
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
using CVRLIB.CARTS;
|
||||
using static CVRLIB.CVSTRINGS.TextFuncs;
|
||||
|
||||
using CVRLIB;
|
||||
using CVRLIB.Generic;
|
||||
|
||||
|
||||
using ZXing;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
|
||||
namespace VSERVERWS.Controllers;
|
||||
|
||||
|
||||
|
||||
//https://vserverws.cvr.cvrco.ca/api/cart/CartStatus
|
||||
|
||||
[Route("api/Cart/[action]")]
|
||||
[ApiController]
|
||||
public class CartController : ControllerBase {
|
||||
|
||||
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult CartStatus() {
|
||||
|
||||
var rOBJ = new { STATUS = "OK" };
|
||||
|
||||
return new JsonResult(rOBJ);
|
||||
}
|
||||
|
||||
|
||||
//https://localhost:7210/api/Cart/SubmitCartHTML?id=1337&source=beta%2Ecvr%2Ecvrco%2Eca
|
||||
|
||||
[HttpPost]
|
||||
[Consumes("text/plain")]
|
||||
public async Task<IActionResult> SubmitCartHTML(string id, string source) {
|
||||
|
||||
var rTOR = new TryOperationResult();
|
||||
|
||||
var isEncrypted = false;
|
||||
var tdata = "";
|
||||
var data = "";
|
||||
|
||||
var HTML_PATH = Program.XDRIVE + "\\CVRCO\\BU\\Carts\\HTML";
|
||||
|
||||
var inSource = HttpUtility.UrlDecode(source);
|
||||
|
||||
if (!string.IsNullOrEmpty(inSource)) {
|
||||
HTML_PATH = HTML_PATH + "\\" + inSource;
|
||||
|
||||
if (!Directory.Exists(HTML_PATH)) {
|
||||
Directory.CreateDirectory(HTML_PATH);
|
||||
}
|
||||
} else {
|
||||
|
||||
rTOR.AddResult(false, "READ_SOURCE", "no source provided!");
|
||||
|
||||
return new JsonResult(rTOR);
|
||||
}
|
||||
|
||||
|
||||
using (var SR = new StreamReader(Request.Body)) {
|
||||
data = await SR.ReadToEndAsync();
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!Directory.Exists(HTML_PATH)) {
|
||||
Directory.CreateDirectory(HTML_PATH);
|
||||
}
|
||||
|
||||
if (!tdata.Contains("<html>")) { isEncrypted = true; }
|
||||
|
||||
|
||||
try {
|
||||
|
||||
if (isEncrypted) {
|
||||
tdata = NonSecureDecryptHexStringToString(data);
|
||||
}
|
||||
|
||||
if (!tdata.Contains("<html>")) {
|
||||
throw new Exception("Invalid html string");
|
||||
}
|
||||
|
||||
|
||||
|
||||
using (var FS = new FileStream(HTML_PATH + "\\" + id + ".txt", FileMode.Create, FileAccess.Write, FileShare.None)) {
|
||||
using (var SW = new StreamWriter(FS)) {
|
||||
|
||||
if (isEncrypted) {
|
||||
await SW.WriteAsync(data);
|
||||
} else {
|
||||
await SW.WriteAsync(NonSecureEncryptStringToHexString(tdata));
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
rTOR.AddResult(true, "TRY_SAVE_HTML_CART");
|
||||
|
||||
|
||||
} catch (Exception ex) {
|
||||
|
||||
rTOR.AddResult(false, "TRY_SAVE_HTML_CART", ex.Message, ex);
|
||||
|
||||
Debug.WriteLine(ex.Message);
|
||||
Debug.WriteLine(ex.StackTrace);
|
||||
}
|
||||
|
||||
return new JsonResult(rTOR);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> SubmitCartData([FromBody] byte[] data) {
|
||||
|
||||
var JSON = await NonSecureDecryptByteAToStringAsync(data);
|
||||
|
||||
var rOBJ = new TryCartOperationResult();
|
||||
|
||||
try {
|
||||
var tCART = JsonConvert.DeserializeObject<ShoppingCart>(JSON);
|
||||
|
||||
if (tCART != null) {
|
||||
|
||||
tCART.TrySyncToInventory(CVGlobal.INVENTORY);
|
||||
|
||||
await tCART.SaveToDBAsync();
|
||||
|
||||
rOBJ.AddResult(true, "CART_SAVE_TO_DB");
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
rOBJ.AddResult(false, "CONVERT_TO_JSON", "Failed to convert to json from byte data.");
|
||||
|
||||
}
|
||||
|
||||
} catch (Exception ex) {
|
||||
|
||||
rOBJ.AddResult(false, "CART_SAVE_TRY", ex.Message, ex);
|
||||
|
||||
}
|
||||
|
||||
|
||||
//return new result
|
||||
return new JsonResult(rOBJ);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -35,9 +35,9 @@ namespace VSERVERWS.Controllers {
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult PaymentStatus() {
|
||||
//api/Payment/PaymentStatus
|
||||
|
||||
|
||||
|
||||
CVRPRINTER_MF264dw? CVP2 = CVP_MF264dw;
|
||||
CVRPRINTER_MFC_L8900CDW? CVP3 = CVP_MFC_L8900CDW;
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace VSERVERWS.Controllers {
|
||||
|
||||
if (DateTime.Now.Subtract(LastError).Hours > 2) {
|
||||
Email E = new Email();
|
||||
E.SEND_FROM = Email.SEND_FROM_ENUM.OFFICE365;
|
||||
E.SEND_FROM = SEND_FROM_ENUM.OFFICE365;
|
||||
|
||||
string B = "Payment System Printer error / offline: Check applicable printer(s) for error or offline!";
|
||||
string S = "<cc> Payment System Printer Error: Check Printer(s)!";
|
||||
@@ -148,7 +148,7 @@ namespace VSERVERWS.Controllers {
|
||||
object? rOBJ = null;
|
||||
|
||||
Email E = new Email();
|
||||
E.SEND_FROM = Email.SEND_FROM_ENUM.OFFICE365;
|
||||
E.SEND_FROM = SEND_FROM_ENUM.OFFICE365;
|
||||
|
||||
bool DupRetry = false;
|
||||
|
||||
@@ -249,6 +249,13 @@ CCRETRY:
|
||||
CI_N.EMAIL.ToLower().Trim() == tCI.EMAIL.ToLower().Trim()
|
||||
)) {
|
||||
|
||||
if (tCI.EXPIRY.Ticks > CI_N.EXPIRY.Ticks) {
|
||||
//had to be added in case they send a duplicate card #, but provide old expiry date.
|
||||
//so skip saving if the current expiry is greater than the one provided.
|
||||
goto SKIP_REENTER;
|
||||
}
|
||||
|
||||
|
||||
CI_N.UID = tCI.UID;
|
||||
CI_N.LNAME = tCI.LNAME;
|
||||
|
||||
@@ -256,6 +263,8 @@ CCRETRY:
|
||||
goto CCRETRY;
|
||||
}
|
||||
|
||||
SKIP_REENTER:
|
||||
|
||||
D += "-" + tCI.UID;
|
||||
B = "Attempted to Add duplicate Credit Card from WEB. <br><br><b>Details (OLD | NEW):</b><br> Ref: " + CI_N.REF_NUM + "<br> USE: " + tCI.UID + "<br>CVNUM: " + tCI.CUST_UID + " | " + CI_N.CUST_UID + "<br>FNAME: " + tCI.FNAME + " | " + CI_N.FNAME + "<br>LNAME: " + tCI.LNAME + " | " + CI_N.LNAME + "<br>PHONE: " + tCI.PHONE + " | " + CI_N.PHONE + "<br>EMAIL: " + tCI.EMAIL + " | " + CI_N.EMAIL + "<br>LAST5: " + tCI.LAST5 + " | " + CI_N.LAST5 + "<br>EXPIRY: " + tCI.EXPIRY.ToString("MM / yyyy") + " | " + CI_N.EXPIRY.ToString("MM / yyyy") + "<br>CVV (NEW ONLY): " + CI_N.SD;
|
||||
S = "<cc> Duplicate CC received for Ref Num: " + CI_N.REF_NUM + " Use Card: " + tCI.UID;
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
@page "/exrate"
|
||||
@model VSERVERWS.Pages.ExchangeRateModel
|
||||
@{
|
||||
|
||||
Layout = null;
|
||||
|
||||
}
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Expires" content="-1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=10">
|
||||
|
||||
<title>Exchange Rate</title>
|
||||
</head>
|
||||
|
||||
<body scroll="no" style="margin: 0; padding: 0">
|
||||
|
||||
<style>
|
||||
.headertext {
|
||||
font-size: 32.0pt;
|
||||
font-family: Calibri;
|
||||
font-weight: 900;
|
||||
text-shadow: 2px 3px 5px #737373,-1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff, -2px 0 0 #ffffff, 2px 0 0 #ffffff, 0 2px 0 #ffffff, 0 -2px 0 #ffffff;
|
||||
color: #0F243D;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.percenttext {
|
||||
font-size: 140pt;
|
||||
line-height: 119%;
|
||||
font-family: Impact;
|
||||
text-shadow: 2px 3px 5px #737373,-1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff, -2px 0 0 #ffffff, 2px 0 0 #ffffff, 0 2px 0 #ffffff, 0 -2px 0 #ffffff;
|
||||
color: #0F243D;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div style="width:517px; height: 271px; display: flex; flex-direction: column; position: relative">
|
||||
<img src="/img/EX_FLAG.png" style="width: 517px; height: 271px; position: absolute; top: 0; left: 0; z-index: -5; opacity: 50%;" >
|
||||
|
||||
<span class="headertext">US to CDN EXCHANGE RATE</span>
|
||||
<span class="percenttext">@Model.ExRate.ToString()%</span>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
|
||||
using CVRLIB.CVR;
|
||||
|
||||
namespace VSERVERWS.Pages
|
||||
{
|
||||
public class ExchangeRateModel : PageModel
|
||||
{
|
||||
|
||||
public float ExRate {
|
||||
get {
|
||||
return CVRCO.GetUSDtoCDNExRate;
|
||||
}
|
||||
}
|
||||
|
||||
public void OnGet()
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
@page "/Puce"
|
||||
@model PuceModel
|
||||
@{
|
||||
ViewData["Title"] = "Puce Listing";
|
||||
Layout = "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
<br />
|
||||
|
||||
<p>
|
||||
Anything not listed in the table(s) below are out of stock and no longer available.
|
||||
</p>
|
||||
|
||||
@{
|
||||
List<string> prefixkeys = new();
|
||||
|
||||
|
||||
if (Model.PuceCVINV.Count > 0)
|
||||
{
|
||||
prefixkeys = Model.PuceCVINV.Keys.ToList();
|
||||
prefixkeys.Sort();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@foreach(var PREFIX in prefixkeys) {
|
||||
|
||||
var tCVINV = Model.PuceCVINV[PREFIX];
|
||||
|
||||
List<string> CVI_KEYS = tCVINV.Keys.ToList();
|
||||
CVI_KEYS.Sort();
|
||||
|
||||
var firstCVI = tCVINV.ToListofCVITEMS().First();
|
||||
|
||||
<h3>@firstCVI.VENDOR_NAME - @firstCVI.SCALE</h3>
|
||||
|
||||
<table border="1" cellpadding="5">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Item Code</th>
|
||||
<th>Description</th>
|
||||
<th>Quantity</th>
|
||||
<th>Price</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var CVI_KEY in CVI_KEYS) {
|
||||
CVRLIB.Inventory.CVITEM CVI = tCVINV[CVI_KEY];
|
||||
|
||||
var PCOST = CVI.PRODUCT_COST == 0 ? CVI.PRICE : CVI.PRODUCT_COST * 1.05m;
|
||||
|
||||
<tr>
|
||||
<td>@CVI.ITEM_UID</td>
|
||||
<td>@CVI.PRODUCT_DESCRIPTION</td>
|
||||
<td>@CVI.STOCK_RAW</td>
|
||||
<td>@PCOST.ToString("c")</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
|
||||
using CVRLIB.Inventory;
|
||||
|
||||
namespace VSERVERWS.Pages;
|
||||
|
||||
|
||||
public class PuceModel : PageModel {
|
||||
private readonly ILogger<PrivacyModel> _logger;
|
||||
|
||||
|
||||
public Dictionary<string, CVINVENTORY> PuceCVINV = new Dictionary<string, CVINVENTORY>();
|
||||
|
||||
|
||||
public PuceModel(ILogger<PrivacyModel> logger) {
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public async Task OnGet() {
|
||||
|
||||
var tCVINV = await PuceListINV();
|
||||
|
||||
PuceCVINV = tCVINV.ParseByCodePrefix();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public async Task<CVINVENTORY> PuceListINV() {
|
||||
|
||||
CVINVENTORY rCVI;
|
||||
|
||||
var PCODES = new SortedSet<string>();
|
||||
|
||||
|
||||
var pcodefiles = Directory.GetFiles(Program.AppData + @"\Puce", "*.csv");
|
||||
|
||||
foreach ( var filepath in pcodefiles ) {
|
||||
|
||||
var LINES = await System.IO.File.ReadAllLinesAsync(filepath);
|
||||
|
||||
foreach (var line in LINES) {
|
||||
|
||||
if (string.IsNullOrWhiteSpace(line)) continue;
|
||||
|
||||
string PCODE = line.Split(',')[0].Trim(['"']);
|
||||
|
||||
PCODES.Add(PCODE);
|
||||
}
|
||||
}
|
||||
|
||||
rCVI = await CVINVENTORY.LoadItemsAsync(PCODES);
|
||||
rCVI.RemoveZeroQTY();
|
||||
|
||||
|
||||
return rCVI;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
+70
-7
@@ -1,18 +1,32 @@
|
||||
|
||||
using CVRLIB.CVENVIRONMENT;
|
||||
using static CVRLIB.CVGlobal;
|
||||
|
||||
using CA_ANC.Formatters;
|
||||
using CVRLIB;
|
||||
using CVRLIB.Inventory;
|
||||
using CVRLIB.Customers;
|
||||
|
||||
//ZXING.dll does not copy properly to publish folder, copy manually from another lib, ie cvrlib-nf.
|
||||
|
||||
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddRazorPages();
|
||||
|
||||
builder.Services.AddControllers().AddJsonOptions((options => {
|
||||
//was changing PRINTER_NAME to printeR_NAME (pascal Case: https://github.com/dotnet/runtime/issues/30887)
|
||||
options.JsonSerializerOptions.PropertyNamingPolicy = null;
|
||||
}));
|
||||
//builder.Services.AddControllers().AddJsonOptions((options => {
|
||||
// //was changing PRINTER_NAME to printeR_NAME (pascal Case: https://github.com/dotnet/runtime/issues/30887)
|
||||
// options.JsonSerializerOptions.PropertyNamingPolicy = null;
|
||||
//}));
|
||||
|
||||
|
||||
builder.Services
|
||||
.AddControllers(options => { options.InputFormatters.Add(new ByteArrayInputFormatter()); })
|
||||
.AddNewtonsoftJson()
|
||||
;
|
||||
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
@@ -24,7 +38,27 @@ if (!app.Environment.IsDevelopment()) {
|
||||
|
||||
}
|
||||
|
||||
VSERVERWS.Global.Globals.IsDevelopment = app.Environment.IsDevelopment();
|
||||
|
||||
var env = builder.Environment;
|
||||
|
||||
//X:\CVRCO\C#\VSERVERWS\VSERVERWS\wwwroot
|
||||
AppPath = env.WebRootPath;
|
||||
|
||||
AppData = env.ContentRootPath + @"\AppData";
|
||||
|
||||
//X:\CVRCO\C#\VSERVERWS\VSERVERWS\
|
||||
HTTPROOT = env.ContentRootPath;
|
||||
|
||||
|
||||
|
||||
//VSERVERWS.Global.Globals.IsDevelopment = app.Environment.IsDevelopment();
|
||||
VSERVERWS.Global.Globals.IsDevelopment = false;
|
||||
|
||||
await Task.Run(() => VSERVERWS.Global.Globals.LoadPrinters());
|
||||
|
||||
await Task.Run(() => CVGlobal.TryGlobalPRELoadCVCollections(new[] { typeof(CVINVENTORY), typeof(CVCustomers) }));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +73,36 @@ app.UseAuthorization();
|
||||
|
||||
app.MapRazorPages();
|
||||
|
||||
app.Run();
|
||||
// app.Run();
|
||||
|
||||
await app.RunAsync();
|
||||
|
||||
|
||||
VSERVERWS.Global.Globals.LoadPrinters();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public partial class Program {
|
||||
|
||||
public static CVSECRETS? CVS { get; set; } = null;
|
||||
public static string AppPath { get; set; } = "";
|
||||
public static string HTTPROOT { get; set; } = "";
|
||||
public static string AppData { get; set; } = "";
|
||||
public static bool IsDevMode { get; set; } = false;
|
||||
|
||||
|
||||
public static string XDRIVE {
|
||||
get {
|
||||
|
||||
if (Directory.Exists("X:\\Shares\\cvrdata")) {
|
||||
return "X:\\Shares\\cvrdata";
|
||||
} else {
|
||||
return "X:";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
+55
-15
@@ -1,26 +1,66 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<TargetFramework>net10.0-windows7.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
<AssemblyVersion>1.0.17.1850</AssemblyVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Magick.NET-Q16-AnyCPU" Version="11.3.0" />
|
||||
<PackageReference Include="Magick.NET.Core" Version="11.3.0" />
|
||||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="6.0.0" />
|
||||
<PackageReference Include="ZXing.Net" Version="0.16.8" />
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="14.12.0" />
|
||||
<PackageReference Include="Magick.NET.Core" Version="14.12.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="10.0.6" />
|
||||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.6" />
|
||||
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0" />
|
||||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="10.0.6" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
||||
<PackageReference Include="System.Drawing.Common" Version="10.0.6" />
|
||||
<PackageReference Include="System.Formats.Asn1" Version="10.0.6" />
|
||||
<PackageReference Include="System.IO.Packaging" Version="10.0.6" />
|
||||
<PackageReference Include="System.Text.Json" Version="10.0.6" />
|
||||
<PackageReference Include="System.Threading.RateLimiting" Version="10.0.6" />
|
||||
<PackageReference Include="ZXing.Net" Version="0.16.11" />
|
||||
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="CVRLIB">
|
||||
<HintPath>..\..\VB.NET\CVRLIB\CVRLIB\bin\Release\netstandard2.0\CVRLIB.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CVRLIB-NF">
|
||||
<HintPath>..\..\VB.NET\CVRLIB-NF\CVRLIB-NF\bin\Release\CVRLIB-NF.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="AppData\Puce\" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<Choose>
|
||||
<When Condition=" '$(Configuration)'=='Debug' ">
|
||||
<ItemGroup>
|
||||
<Reference Include="CVRLIB">
|
||||
<HintPath>..\..\VB.NET\CVRLIB\CVRLIB\bin\Debug\netstandard2.0\CVRLIB.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CVRLIB-NF">
|
||||
<HintPath>..\..\VB.NET\CVRLIB-NF\CVRLIB-NF\bin\Debug\CVRLIB-NF.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="HtmlFactory">
|
||||
<HintPath>..\HtmlFactory\HtmlFactory\bin\Debug\netstandard2.0\HtmlFactory.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition=" '$(Configuration)'=='Release' ">
|
||||
<ItemGroup>
|
||||
<Reference Include="CVRLIB">
|
||||
<HintPath>..\..\VB.NET\CVRLIB\CVRLIB\bin\Release\netstandard2.0\CVRLIB.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CVRLIB-NF">
|
||||
<HintPath>..\..\VB.NET\CVRLIB-NF\CVRLIB-NF\bin\Release\CVRLIB-NF.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="HtmlFactory">
|
||||
<HintPath>..\HtmlFactory\HtmlFactory\bin\Release\netstandard2.0\HtmlFactory.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</When>
|
||||
</Choose>
|
||||
|
||||
</Project>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Reference in New Issue
Block a user